summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhur Garg <madhurgarg96@gmail.com>2019-07-05 17:13:47 +0200
committerMadhur Garg <madhurgarg96@gmail.com>2019-08-22 00:54:25 +0530
commit7445c37b91a516fc00a70a33f1680096a379f3cd (patch)
treecccab34d5835fa32c6b0e7e72deca43ede2a5c8b
parent7220c12d9824c36354c6325897621d6a98239e8a (diff)
downloadpoezio-7445c37b91a516fc00a70a33f1680096a379f3cd.tar.gz
poezio-7445c37b91a516fc00a70a33f1680096a379f3cd.tar.bz2
poezio-7445c37b91a516fc00a70a33f1680096a379f3cd.tar.xz
poezio-7445c37b91a516fc00a70a33f1680096a379f3cd.zip
Apply suggestion to poezio/mam.py
-rw-r--r--poezio/mam.py2
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 = []