diff --git a/src/session.py b/src/session.py index 0cc9f0d59..e54eaff4c 100644 --- a/src/session.py +++ b/src/session.py @@ -238,7 +238,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession): self.conn.name, contact) if (not self.control and obj.mtype != 'normal') or \ - (obj.mtype != 'normal' and not obj.popup): + (obj.mtype == 'normal' and not obj.popup): event = gajim.events.create_event(type_, (obj.msgtxt, obj.subject, obj.mtype, obj.timestamp, obj.encrypted, obj.resource, obj.msg_id, obj.xhtml, self, obj.form_node, obj.displaymarking,