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