changeset 487:7a23db86ee65

mam: fix message sending in `onArchiveRequest`
author Goffi <goffi@goffi.org>
date Sun, 02 Oct 2022 16:26:48 +0200
parents 39a6c0bc914b
children c41f37f1b51c
files sat_pubsub/mam.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_pubsub/mam.py	Sun Oct 02 15:38:42 2022 +0200
+++ b/sat_pubsub/mam.py	Sun Oct 02 16:26:48 2022 +0200
@@ -103,7 +103,8 @@
             items.addChild(elt)
             return message
 
-        def cb(items_data):
+        def cb(items_data_tuple):
+            items_data, rsm_response = items_data_tuple
             msg_data = []
             rsm_elt = None
             attributes = {}