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