mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Refresh room list on join and leave if nodePush is used
This commit is contained in:
parent
2e0651ddd8
commit
d6cea6ae86
@ -352,6 +352,8 @@ load messages if the appropriate event arrives.
|
||||
be.bastelstu.wcf.nodePush.onMessage 'be.bastelstu.chat.newMessage', getMessages
|
||||
be.bastelstu.wcf.nodePush.onMessage 'be.bastelstu.wcf.nodePush.tick60', getMessages
|
||||
be.bastelstu.wcf.nodePush.onMessage 'be.bastelstu.chat.roomChange', refreshRoomList
|
||||
be.bastelstu.wcf.nodePush.onMessage 'be.bastelstu.chat.join', refreshRoomList
|
||||
be.bastelstu.wcf.nodePush.onMessage 'be.bastelstu.chat.leave', refreshRoomList
|
||||
|
||||
Finished! Enable the input now and join the chat.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user