From 86423b59a7b0b5633f3871e7127e5e42b24974b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 24 Mar 2022 16:07:01 +0100 Subject: [PATCH] decrypt: use correct signature from poezio.E2EEPlugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio_omemo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio_omemo/__init__.py b/poezio_omemo/__init__.py index af6dc93..c5f7092 100644 --- a/poezio_omemo/__init__.py +++ b/poezio_omemo/__init__.py @@ -150,7 +150,7 @@ class Plugin(E2EEPlugin): colored_fp += f'\x19{fg_color}}}{part}{separator}' return colored_fp - async def decrypt(self, message: Message, jid: Optional[JID], tab: ChatTab) -> None: + async def decrypt(self, message: Message, jid: Optional[JID], tab: Optional[ChatTab]) -> None: if jid is None: self.display_error('Unable to decrypt the message.') return None