Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wesnothd: added a login response, including admin status (#5349)
* Wesnothd: added a login response, including admin status This adds an `is_moderator` key to the [join_lobby] response containing the moderator status. This is instead of having the server send a message after the login is complete and before the initial gamelist. Since we wait at the loading screen for the latter (e41534d), this has needed to be handled here (2b4ae20), but it doesn't make much sense to be handled this way. Many years ago this message was meant to show up in chat, but after the former change that no longer happened, (IIRC) and after the latter change it most certainly won't.
- Loading branch information
Showing
5 changed files
with
21 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters