fix TB
This commit is contained in:
parent
596e9fe4fc
commit
2af3116b9d
|
@ -899,7 +899,7 @@ class Connection:
|
||||||
|
|
||||||
if mime_type is not None:
|
if mime_type is not None:
|
||||||
file_props['mime-type'] = mime_type
|
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
|
resource = self.server_resource
|
||||||
file_props['receiver'] = our_jid + '/' + resource
|
file_props['receiver'] = our_jid + '/' + resource
|
||||||
file_props['sender'] = iq_obj.getFrom()
|
file_props['sender'] = iq_obj.getFrom()
|
||||||
|
@ -956,7 +956,7 @@ class Connection:
|
||||||
self.to_be_sent.append(iq)
|
self.to_be_sent.append(iq)
|
||||||
|
|
||||||
def send_file_request(self, file_props):
|
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
|
resource = self.server_resource
|
||||||
frm = our_jid + '/' + resource
|
frm = our_jid + '/' + resource
|
||||||
file_props['sender'] = frm
|
file_props['sender'] = frm
|
||||||
|
|
Loading…
Reference in New Issue