only process relevant events

dbus-notify
Zlatin Balevsky 2022-08-20 12:29:32 +01:00
parent e73093e150
commit 494279ac56
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 3 additions and 0 deletions

View File

@ -109,9 +109,12 @@ class ChatServerModel {
}
void onChatDisconnectionEvent(ChatDisconnectionEvent event) {
if (event.persona != host)
return
mvcGroup.childrenGroups.each {k, v ->
v.controller.serverDisconnected()
}
}
private void eventLoop() {