diff options
-rw-r--r-- | poezio/mam.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 = [] |