we now create Contact instances with gajim.contacts.create_contact()
This commit is contained in:
parent
b24c035067
commit
5fbf3c9b55
|
@ -289,7 +289,8 @@ _('Connection with peer cannot be established.'))
|
|||
if contact.find('/') == -1:
|
||||
return
|
||||
(jid, resource) = contact.split('/', 1)
|
||||
contact = gajim.Contact(jid = jid, resource = resource)
|
||||
contact = gajim.contacts.create_contact(jid = jid,
|
||||
resource = resource)
|
||||
(file_dir, file_name) = os.path.split(file_path)
|
||||
file_props = self.get_send_file_props(account, contact,
|
||||
file_path, file_name)
|
||||
|
|
Loading…
Reference in New Issue