diff --git a/src/session.py b/src/session.py index 05fca8afd..d2823c89b 100644 --- a/src/session.py +++ b/src/session.py @@ -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()