fix: ignore last_sent_message type

not sure why mypy ignores that everywhere
This commit is contained in:
mathieui 2021-03-25 22:14:55 +01:00
parent d08ed8d138
commit 9b01b9afa1

View file

@ -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']: