Skip to content
Snippets Groups Projects
Commit 2017945e authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't traceback when receiving a single message

parent d58841cb
No related branches found
No related tags found
No related merge requests found
...@@ -338,7 +338,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession): ...@@ -338,7 +338,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
if msg_type == 'normal' and popup: # it's single message to be autopopuped if msg_type == 'normal' and popup: # it's single message to be autopopuped
dialogs.SingleMessageWindow(self.conn.name, contact.jid, dialogs.SingleMessageWindow(self.conn.name, contact.jid,
action='receive', from_whom=jid, subject=subject, message=msg, 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 return
# We print if window is opened and it's not a single message # We print if window is opened and it's not a single message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment