diff sat_pubsub/mam.py @ 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 8d939378f023
children a772f7dac930
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)