summaryrefslogtreecommitdiff
path: root/poezio/mam.py
diff options
context:
space:
mode:
authorMadhur Garg <madhurgarg96@gmail.com>2019-07-08 12:58:31 +0530
committerMadhur Garg <madhurgarg96@gmail.com>2019-08-22 00:54:25 +0530
commit772cec28fbe665599a7c74d5a4934f3c1eefb495 (patch)
treee644348c67544dd26cbda40730f0d880abd61cf2 /poezio/mam.py
parent788c21b9867642b752fec85f0e17c248cc9fa008 (diff)
downloadpoezio-772cec28fbe665599a7c74d5a4934f3c1eefb495.tar.gz
poezio-772cec28fbe665599a7c74d5a4934f3c1eefb495.tar.bz2
poezio-772cec28fbe665599a7c74d5a4934f3c1eefb495.tar.xz
poezio-772cec28fbe665599a7c74d5a4934f3c1eefb495.zip
Changed the name of MAM function.
Diffstat (limited to 'poezio/mam.py')
-rw-r--r--poezio/mam.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/mam.py b/poezio/mam.py
index 52c07ee9..981c20e9 100644
--- a/poezio/mam.py
+++ b/poezio/mam.py
@@ -33,7 +33,7 @@ def add_line(text_buffer: TextBuffer, text: str, str_time: str, nick: str, top:
None, # Jid
)
-async def MAM(self, remote_jid, start, end, top):
+async def query(self, remote_jid, start, end, top):
self.remote_jid = remote_jid
self.start_date = start
self.end_date = end
@@ -80,4 +80,4 @@ def mam_scroll(self):
start = start + timedelta(days=-10)
start = datetime.strftime(start, '%Y-%m-%dT%H:%M:%SZ')
top = True
- asyncio.ensure_future(MAM(self, remote_jid, start, end, top)) \ No newline at end of file
+ asyncio.ensure_future(query(self, remote_jid, start, end, top)) \ No newline at end of file