update status only if it matches host

This commit is contained in:
Zlatin Balevsky
2019-11-12 11:11:42 +00:00
parent 3d36351a6b
commit eec007e83b

View File

@@ -50,8 +50,10 @@ class ChatServerModel {
}
void onChatConnectionEvent(ChatConnectionEvent e) {
runInsideUIAsync {
status = e.status
if (e.persona == host) {
runInsideUIAsync {
status = e.status
}
}
ChatLink link = e.connection