fix argument order in new_chat

This commit is contained in:
Yann Leboulanger 2008-06-03 06:06:42 +00:00
parent cffec2aee1
commit e4d5625210
1 changed files with 2 additions and 2 deletions

View File

@ -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()