From 89fa9dc1dd1907e3af58bf8988971b670520eb3a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 23 Aug 2019 00:21:42 +0530 Subject: Removed before tag. (Code for setting it is already there) --- slixmpp/plugins/xep_0313/mam.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slixmpp/plugins/xep_0313/mam.py b/slixmpp/plugins/xep_0313/mam.py index 8abd6b7e..f78b62fa 100644 --- a/slixmpp/plugins/xep_0313/mam.py +++ b/slixmpp/plugins/xep_0313/mam.py @@ -41,7 +41,7 @@ class XEP_0313(BasePlugin): register_stanza_plugin(stanza.MAM, self.xmpp['xep_0059'].stanza.Set) register_stanza_plugin(stanza.Fin, self.xmpp['xep_0059'].stanza.Set) - def retrieve(self, jid=None, start=None, end=None, before=None, with_jid=None, ifrom=None, + def retrieve(self, jid=None, start=None, end=None, with_jid=None, ifrom=None, reverse=False, timeout=None, callback=None, iterator=False, rsm=None): iq = self.xmpp.Iq() query_id = iq['id'] @@ -52,7 +52,6 @@ class XEP_0313(BasePlugin): iq['mam']['queryid'] = query_id iq['mam']['start'] = start iq['mam']['end'] = end - iq['mam']['rsm']['before'] = before iq['mam']['with'] = with_jid if rsm: for key, value in rsm.items(): -- cgit v1.2.3