# HG changeset patch # User Goffi # Date 1498425163 -7200 # Node ID 5580f08c7b91e9dde87ad83e55d9539c5ce09830 # Parent 0a93d71f9503f7df3131a96efa8ff0f67d547c1a mam: fixed call to getItemsData where requestor was missing diff -r 0a93d71f9503 -r 5580f08c7b91 sat_pubsub/mam.py --- 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)