plugin XEP-0234: log file transfer "terminated" instead of "completed", as the file may not be complete (check is done after)
This commit is contained in:
parent
b140240996
commit
3c71aef8af
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ class XEP_0234(object):
|
|||
return True
|
||||
|
||||
def _finishedCb(self, dummy, session, content_name, content_data, profile):
|
||||
log.info(u"File transfer completed")
|
||||
log.info(u"File transfer terminated")
|
||||
if content_data['senders'] != session['role']:
|
||||
# we terminate the session only if we are the receiver,
|
||||
# as recommanded in XEP-0234 §2 (after example 6)
|
||||
|
|
|
|||
Loading…
Reference in a new issue