fix function call. fixes #3941

This commit is contained in:
Yann Leboulanger 2008-05-13 21:26:53 +00:00
parent a7f8053e5e
commit b7eff5b22d
1 changed files with 2 additions and 1 deletions

View File

@ -308,7 +308,8 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
if popup:
if not self.control:
self.control = gajim.interface.roster.new_chat(self, contact, self.conn.name, resource=resource_for_chat)
self.control = gajim.interface.new_chat(self, contact,
self.conn.name, resource=resource_for_chat)
if len(gajim.events.get_events(self.conn.name, fjid)):
self.control.read_queue()