update status only if it matches host
This commit is contained in:
@@ -50,8 +50,10 @@ class ChatServerModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void onChatConnectionEvent(ChatConnectionEvent e) {
|
void onChatConnectionEvent(ChatConnectionEvent e) {
|
||||||
runInsideUIAsync {
|
if (e.persona == host) {
|
||||||
status = e.status
|
runInsideUIAsync {
|
||||||
|
status = e.status
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ChatLink link = e.connection
|
ChatLink link = e.connection
|
||||||
|
Reference in New Issue
Block a user