]> git.cworth.org Git - lmno-server/commitdiff
Add a new player-info event to the stream
authorCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 12:41:40 +0000 (05:41 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 5 Jun 2020 14:28:57 +0000 (07:28 -0700)
This event informs the player what their ID and their name is. It's
significant to tell them their own name because it may be provided
from the server session (obtained by a cookie from the client).

This commit includes a test case which uses the existing /profile
endpoint to set a name, and then verifies that that name is returned
in the player-info event.


No differences found