core, plugin file: fixed progress id + data is now returned by getProgress, instead of being an argument to fill

This commit is contained in:
Goffi 2015-11-14 19:20:33 +01:00
commit 2c8b91ee6c

View file

@ -100,7 +100,7 @@ class XEP_0234(object):
# 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