Commit 238eb8a0 authored by Maxime Buquet's avatar Maxime Buquet

E2EEPlugin: Mute some lint warnings because of metaclass

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 323d39f9
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment