E2EEPlugin: Mute some lint warnings because of metaclass

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-12-30 17:16:15 +01:00
parent 323d39f932
commit 238eb8a0a1

View file

@ -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: