From eec007e83b2e71e9d8e8bf9b1d2420e0541924e2 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Tue, 12 Nov 2019 11:11:42 +0000 Subject: [PATCH] update status only if it matches host --- .../models/com/muwire/gui/ChatServerModel.groovy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gui/griffon-app/models/com/muwire/gui/ChatServerModel.groovy b/gui/griffon-app/models/com/muwire/gui/ChatServerModel.groovy index beb2b2d1..9e7e4340 100644 --- a/gui/griffon-app/models/com/muwire/gui/ChatServerModel.groovy +++ b/gui/griffon-app/models/com/muwire/gui/ChatServerModel.groovy @@ -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