From 7445c37b91a516fc00a70a33f1680096a379f3cd Mon Sep 17 00:00:00 2001 From: Madhur Garg Date: Fri, 5 Jul 2019 17:13:47 +0200 Subject: Apply suggestion to poezio/mam.py --- poezio/mam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/mam.py') diff --git a/poezio/mam.py b/poezio/mam.py index cc40e04c..1617e89b 100644 --- a/poezio/mam.py +++ b/poezio/mam.py @@ -38,7 +38,7 @@ async def MAM(self, remote_jid, start, end, top): self.start_date = start self.end_date = end text_buffer = self._text_buffer - results = self.core.xmpp.plugin['xep_0313'].retrieve(jid=self.remote_jid, + results = self.core.xmpp['xep_0313'].retrieve(jid=self.remote_jid, iterator=True, reverse=top, start=self.start_date, end=self.end_date) msg_count = 0 msgs = [] -- cgit v1.2.3