E2EEPlugin: Mute some lint warnings because of metaclass
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
323d39f932
commit
238eb8a0a1
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue