From ba93143e8a4769e82cc55c7954c5dfd51ff8bad8 Mon Sep 17 00:00:00 2001 From: Madhur Garg Date: Wed, 26 Jun 2019 01:00:19 +0530 Subject: Removed extra jid and password fields --- plugins/mam.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'plugins') 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) -- cgit v1.2.3