From e4d56252104fe88095ed0a626a9d4a75d254fdbb Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 3 Jun 2008 06:06:42 +0000 Subject: [PATCH] fix argument order in new_chat --- src/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()