Commit 7445c37b authored by Madhur Garg's avatar Madhur Garg

Apply suggestion to poezio/mam.py

parent 7220c12d
...@@ -38,7 +38,7 @@ async def MAM(self, remote_jid, start, end, top): ...@@ -38,7 +38,7 @@ async def MAM(self, remote_jid, start, end, top):
self.start_date = start self.start_date = start
self.end_date = end self.end_date = end
text_buffer = self._text_buffer 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) iterator=True, reverse=top, start=self.start_date, end=self.end_date)
msg_count = 0 msg_count = 0
msgs = [] msgs = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment