summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMadhur Garg <madhurgarg96@gmail.com>2019-06-26 01:00:19 +0530
committerMadhur Garg <madhurgarg96@gmail.com>2019-08-22 00:54:25 +0530
commitba93143e8a4769e82cc55c7954c5dfd51ff8bad8 (patch)
treec9262a80ce63d2d7f61f6e40293af0e841f9f08e /plugins
parent448f70a5c699ed6c87ad546f92a07f2680026e4f (diff)
downloadpoezio-ba93143e8a4769e82cc55c7954c5dfd51ff8bad8.tar.gz
poezio-ba93143e8a4769e82cc55c7954c5dfd51ff8bad8.tar.bz2
poezio-ba93143e8a4769e82cc55c7954c5dfd51ff8bad8.tar.xz
poezio-ba93143e8a4769e82cc55c7954c5dfd51ff8bad8.zip
Removed extra jid and password fields
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mam.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/mam.py b/plugins/mam.py
index db120fff..1335bfd0 100644
--- a/plugins/mam.py
+++ b/plugins/mam.py
@@ -14,7 +14,6 @@ import slixmpp
from datetime import datetime
from datetime import timedelta
-from poezio.config import config
from poezio.plugin import BasePlugin
from poezio.decorators import command_args_parser
from poezio import tabs
@@ -39,11 +38,6 @@ class Plugin(BasePlugin):
"""Define mam command"""
tab = self.api.current_tab()
- jid = config.get('jid')
- password = config.get('password')
- eval_password = config.get('eval_password')
- if not password:
- password = eval_password
remote_jid = tab.jid
end = datetime.now()
end = datetime.strftime(end, '%Y-%m-%dT%H:%M:%SZ')
@@ -67,4 +61,4 @@ class Plugin(BasePlugin):
except ValueError:
pass
- MAM(jid, password, remote_jid, start, end, tab)
+ MAM(remote_jid, start, end, tab)