we now create Contact instances with gajim.contacts.create_contact()

This commit is contained in:
Yann Leboulanger 2005-12-21 09:02:34 +00:00
parent b24c035067
commit 5fbf3c9b55
1 changed files with 2 additions and 1 deletions

View File

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