fix argument order in new_chat
This commit is contained in:
parent
cffec2aee1
commit
e4d5625210
|
@ -316,8 +316,8 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
|
||||||
|
|
||||||
if popup:
|
if popup:
|
||||||
if not self.control:
|
if not self.control:
|
||||||
self.control = gajim.interface.new_chat(self, contact,
|
self.control = gajim.interface.new_chat(contact,
|
||||||
self.conn.name, resource=resource_for_chat)
|
self.conn.name, resource=resource_for_chat, session=self)
|
||||||
|
|
||||||
if len(gajim.events.get_events(self.conn.name, fjid)):
|
if len(gajim.events.get_events(self.conn.name, fjid)):
|
||||||
self.control.read_queue()
|
self.control.read_queue()
|
||||||
|
|
Loading…
Reference in New Issue