plugin XEP-0329: fixed extra key serialisation before sending to bridge
This commit is contained in:
parent
efd3c8d0b4
commit
2e18724e7b
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ class XEP_0329(object):
|
|||
def _serializeData(self, files_data):
|
||||
for file_data in files_data:
|
||||
for key, value in file_data.iteritems():
|
||||
file_data[key] = unicode(value)
|
||||
file_data[key] = json.dumps(value) if key in ('extra',) else unicode(value)
|
||||
return files_data
|
||||
|
||||
def _listFiles(self, target_jid, path, extra, profile):
|
||||
|
|
|
|||
Loading…
Reference in a new issue