call str() instead of unicode()
This commit is contained in:
parent
c903b9d5d1
commit
b75c1c12aa
|
@ -2319,7 +2319,7 @@ class FileTransferCompletedEvent(nec.NetworkIncomingEvent):
|
|||
base_network_events = []
|
||||
|
||||
def generate(self):
|
||||
jid = unicode(self.file_props.receiver)
|
||||
jid = str(self.file_props.receiver)
|
||||
self.jid = gajim.get_jid_without_resource(jid)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue