changeset 335:5580f08c7b91

mam: fixed call to getItemsData where requestor was missing
author Goffi <goffi@goffi.org>
date Sun, 25 Jun 2017 23:12:43 +0200
parents 0a93d71f9503
children a468c187bbb5
files sat_pubsub/mam.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_pubsub/mam.py	Sat Jun 03 16:12:46 2017 +0200
+++ b/sat_pubsub/mam.py	Sun Jun 25 23:12:43 2017 +0200
@@ -85,7 +85,7 @@
         else:
             ext_data['rsm'] = mam_request.rsm
 
-        d = self.backend.getItemsData(mam_request.node, mam_request.recipient, None, None, ext_data)
+        d = self.backend.getItemsData(mam_request.node, mam_request.sender, mam_request.recipient, None, None, ext_data)
 
         def make_message(elt):
             # XXX: http://xmpp.org/extensions/xep-0297.html#sect-idp629952 (rule 3)