plugin XEP-0313: fixed MAMGet signature
This commit is contained in:
parent
7f713e39f3
commit
e60b64d876
1 changed files with 5 additions and 3 deletions
|
|
@ -236,12 +236,14 @@ class MAM(base.CommandBase):
|
|||
if value is not None:
|
||||
extra[key] = str(value)
|
||||
try:
|
||||
data, metadata, profile = await self.host.bridge.MAMGet(
|
||||
data, metadata_s, profile = await self.host.bridge.MAMGet(
|
||||
self.args.service, data_format.serialise(extra), self.profile)
|
||||
except Exception as e:
|
||||
self.disp(f"can't retrieve MAM archives: {e}", error=True)
|
||||
self.host.quit(C.EXIT_BRIDGE_ERRBACK)
|
||||
|
||||
metadata = data_format.deserialise(metadata_s)
|
||||
|
||||
try:
|
||||
session_info = await self.host.bridge.sessionInfosGet(self.profile)
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in a new issue