plugin XEP-0313: fixed MAMGet signature
This commit is contained in:
parent
7f713e39f3
commit
e60b64d876
1 changed files with 5 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ class XEP_0313(object):
|
|||
self._last_stanza_id_d.callback(None)
|
||||
host.bridge.addMethod(
|
||||
"MAMGet", ".plugin", in_sign='sss',
|
||||
out_sign='(a(sdssa{ss}a{ss}sa{ss})a{ss}s)', method=self._getArchives,
|
||||
out_sign='(a(sdssa{ss}a{ss}ss)ss)', method=self._getArchives,
|
||||
async_=True)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
@ -331,7 +331,7 @@ class XEP_0313(object):
|
|||
'rsm': self._rsm.response2dict(rsm_response),
|
||||
'mam': mam_response
|
||||
}
|
||||
return mess_list, metadata, client.profile
|
||||
return mess_list, data_format.serialise(metadata), client.profile
|
||||
|
||||
def _getArchives(self, service, extra_ser, profile_key):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue