This commit is contained in:
Yann Leboulanger 2005-09-13 10:52:51 +00:00
parent 596e9fe4fc
commit 2af3116b9d
1 changed files with 2 additions and 2 deletions

View File

@ -899,7 +899,7 @@ class Connection:
if mime_type is not None:
file_props['mime-type'] = mime_type
our_jid = get_jid_from_account(self.name)
our_jid = gajim.get_jid_from_account(self.name)
resource = self.server_resource
file_props['receiver'] = our_jid + '/' + resource
file_props['sender'] = iq_obj.getFrom()
@ -956,7 +956,7 @@ class Connection:
self.to_be_sent.append(iq)
def send_file_request(self, file_props):
our_jid = get_jid_from_account(self.name)
our_jid = gajim.get_jid_from_account(self.name)
resource = self.server_resource
frm = our_jid + '/' + resource
file_props['sender'] = frm