summaryrefslogtreecommitdiff
path: root/poezio/plugin_e2ee.py
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-12-30 17:16:15 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-12-31 11:54:52 +0100
commit238eb8a0a1e02bbe491ebcfd34c3bda1b5f19cac (patch)
tree5ea9723931af984674e9bc5ddfabcfa2f6cb2ae8 /poezio/plugin_e2ee.py
parent323d39f932a79915ffd45ff5ab6ab70658d1bd6a (diff)
downloadpoezio-238eb8a0a1e02bbe491ebcfd34c3bda1b5f19cac.tar.gz
poezio-238eb8a0a1e02bbe491ebcfd34c3bda1b5f19cac.tar.bz2
poezio-238eb8a0a1e02bbe491ebcfd34c3bda1b5f19cac.tar.xz
poezio-238eb8a0a1e02bbe491ebcfd34c3bda1b5f19cac.zip
E2EEPlugin: Mute some lint warnings because of metaclass
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'poezio/plugin_e2ee.py')
-rw-r--r--poezio/plugin_e2ee.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/plugin_e2ee.py b/poezio/plugin_e2ee.py
index 2104a628..bcaba5e3 100644
--- a/poezio/plugin_e2ee.py
+++ b/poezio/plugin_e2ee.py
@@ -395,8 +395,10 @@ class E2EEPlugin(BasePlugin):
# Call the enabled encrypt method
func = self._enabled_tabs[jid]
if iscoroutinefunction(func):
+ # pylint: disable=unexpected-keyword-arg
await func(message, tab, passthrough=True)
else:
+ # pylint: disable=unexpected-keyword-arg
func(message, tab, passthrough=True)
if has_body: