changeset 1753:27a140aa5023

plugin XEP-0234: log file transfer "terminated" instead of "completed", as the file may not be complete (check is done after)
author Goffi <goffi@goffi.org>
date Thu, 17 Dec 2015 22:02:52 +0100
parents cbcc223c323a
children f4e9f2f7fe0f
files src/plugins/plugin_xep_0234.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0234.py	Thu Dec 17 21:58:41 2015 +0100
+++ b/src/plugins/plugin_xep_0234.py	Thu Dec 17 22:02:52 2015 +0100
@@ -306,7 +306,7 @@
         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)