use the new new_private_chat function
This commit is contained in:
parent
75eb345ff9
commit
274f8742bb
|
@ -2170,8 +2170,7 @@ class Interface:
|
|||
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'):
|
||||
|
|
Loading…
Reference in New Issue