summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-25 22:14:55 +0100
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commit9b01b9afa1705a47038beff6ef04ea7910e54f50 (patch)
tree9579f4db65e7b6ebef941ef9c10e7190c82175fa
parentd08ed8d13813db4d54079d207eb99a4dacd664fb (diff)
downloadpoezio-9b01b9afa1705a47038beff6ef04ea7910e54f50.tar.gz
poezio-9b01b9afa1705a47038beff6ef04ea7910e54f50.tar.bz2
poezio-9b01b9afa1705a47038beff6ef04ea7910e54f50.tar.xz
poezio-9b01b9afa1705a47038beff6ef04ea7910e54f50.zip
fix: ignore last_sent_message type
not sure why mypy ignores that everywhere
-rw-r--r--poezio/tabs/muctab.py2
1 files changed, 1 insertions, 1 deletions
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']: