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

fix argument order in new_chat

parent cffec2ae
No related branches found
No related tags found
No related merge requests found
......@@ -316,8 +316,8 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
if popup:
if not self.control:
self.control = gajim.interface.new_chat(self, contact,
self.conn.name, resource=resource_for_chat)
self.control = gajim.interface.new_chat(contact,
self.conn.name, resource=resource_for_chat, session=self)
if len(gajim.events.get_events(self.conn.name, fjid)):
self.control.read_queue()
......
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