Display chat scrollback again when returning from gamesetup
|Reported by:||elexis||Owned by:||elexis|
|Priority:||Nice to Have||Milestone:||Alpha 23|
Description (last modified by )
Currently chat messages are only displayed in the
OnTick() function in
This means you will miss messages (imagine someone sending you one while you were just clicking on the host game button and returned, because you noticed that someone wrote your nickname).
XmppClient.cpp needs to save the last N messages, since saving values in JS doesn't work (After returning from the gamesetup, the values are overwritten again, see #3287).
There is a setting
lobby.history that already remembers the number of chat messages to scroll back.
A script function must be added to
JSInterface_Lobby.h, so that one can get the scrollback in the
init() function in
Change History (8)
comment:6 by , 3 years ago
|Milestone:||Backlog → Alpha 23|