decrypt: use correct signature from poezio.E2EEPlugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
81ce08d2be
commit
86423b59a7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue