From 9b01b9afa1705a47038beff6ef04ea7910e54f50 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 25 Mar 2021 22:14:55 +0100 Subject: fix: ignore last_sent_message type not sure why mypy ignores that everywhere --- poezio/tabs/muctab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 7fb6db11..4fbde32e 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -1734,7 +1734,7 @@ class MucTab(ChatTab): if config.get_by_tabname('send_chat_states', self.general_jid): msg['chat_state'] = needed if correct: - msg['replace']['id'] = self.last_sent_message['id'] + msg['replace']['id'] = self.last_sent_message['id'] # type: ignore self.cancel_paused_delay() self.core.events.trigger('muc_say_after', msg, self) if not msg['body']: -- cgit v1.2.3