diff src/plugins/plugin_xep_0234.py @ 1598:b144babc2658

core, plugin file: fixed progress id + data is now returned by getProgress, instead of being an argument to fill
author Goffi <goffi@goffi.org>
date Sat, 14 Nov 2015 19:20:33 +0100
parents 846a39900fa6
children 0de5f210fe56
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0234.py	Sat Nov 14 19:19:04 2015 +0100
+++ b/src/plugins/plugin_xep_0234.py	Sat Nov 14 19:20:33 2015 +0100
@@ -100,7 +100,7 @@
     # jingle callbacks
 
     def jingleSessionInit(self, session, content_name, filepath, name, file_desc, progress_id_d, profile=C.PROF_KEY_NONE):
-        progress_id_d.callback(self.getProgressId(session, content_name))
+        progress_id_d.callback(self._getProgressId(session, content_name))
         content_data = session['contents'][content_name]
         application_data = content_data['application_data']
         assert 'file_path' not in application_data