Fix showing normal message event

Regression introduced in 9b866fd1a0
This commit is contained in:
Philipp Hörist 2017-11-10 18:09:36 +01:00
parent 947106bb66
commit d19e87eb7b

View file

@ -262,7 +262,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
self.conn.name, contact, self)
obj.show_in_systray = notify.get_show_in_systray(event_type,
self.conn.name, contact)
if obj.mtype == 'normal' and not obj.popup:
if obj.mtype == 'normal' and obj.popup:
do_event = False
else:
do_event = True