From 5fbf3c9b55ca028f12dd5437bddd968ac5d6acc1 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 21 Dec 2005 09:02:34 +0000 Subject: [PATCH] we now create Contact instances with gajim.contacts.create_contact() --- src/filetransfers_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/filetransfers_window.py b/src/filetransfers_window.py index e0e3c3a22..152cadcb7 100644 --- a/src/filetransfers_window.py +++ b/src/filetransfers_window.py @@ -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)