Author: asterix Date: 2007-06-03 15:45:32 +0200 (Sun, 03 Jun 2007) New Revision: 8202
Modified: trunk/src/gajim.py Log: use the new new_private_chat function
Modified: trunk/src/gajim.py =================================================================== --- trunk/src/gajim.py 2007-06-03 13:42:51 UTC (rev 8201) +++ trunk/src/gajim.py 2007-06-03 13:45:32 UTC (rev 8202) @@ -2170,8 +2170,7 @@ show = 'offline' gc_contact = gajim.contacts.create_gc_contact( room_jid = room_jid, name = nick, show = show) - c = gajim.contacts.contact_from_gc_contact(gc_contact) - self.roster.new_chat(c, account, private_chat = True) + self.roster.new_private_chat(gc_contact, account) w = self.msg_win_mgr.get_window(fjid, account) elif type_ in ('normal', 'file-request', 'file-request-error', 'file-send-error', 'file-error', 'file-stopped', 'file-completed'):