fix typo. Fixes #7560

This commit is contained in:
Yann Leboulanger 2013-11-17 21:52:02 +01:00
parent fa90c358bb
commit 8e231c1d4f
1 changed files with 1 additions and 1 deletions

View File

@ -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,