don't traceback when receiving a single message

This commit is contained in:
Yann Leboulanger 2010-06-09 10:39:36 +02:00
parent d58841cb2b
commit 2017945e77
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
if msg_type == 'normal' and popup: # it's single message to be autopopuped
dialogs.SingleMessageWindow(self.conn.name, contact.jid,
action='receive', from_whom=jid, subject=subject, message=msg,
resource=resource, session=self, form_node=form_node, displaymarking=displaymarking)
resource=resource, session=self, form_node=form_node)
return
# We print if window is opened and it's not a single message