mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* room server: login response, permission byte now returned
This commit is contained in:
parent
88959b6b03
commit
0a5bcb9e2c
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ protected:
|
|||
// TODO: maybe reply with count of messages waiting to be synced for THIS client?
|
||||
reply_data[4] = RESP_SERVER_LOGIN_OK;
|
||||
reply_data[5] = (CLIENT_KEEP_ALIVE_SECS >> 4); // NEW: recommended keep-alive interval (secs / 16)
|
||||
reply_data[6] = 0; // FUTURE: reserved
|
||||
reply_data[6] = is_admin ? 1 : 0;
|
||||
reply_data[7] = 0; // FUTURE: reserved
|
||||
memcpy(&reply_data[8], "OK", 2); // REVISIT: not really needed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue