Commit 9bd3826f authored by mathieui's avatar mathieui

fix: type-ignore last-sent message until mypy makes sense

parent d09d30c5
......@@ -161,7 +161,7 @@ class PrivateTab(OneToOneTab):
if not msg['body']:
return
if correct or msg['replace']['id'] and self.last_sent_message:
msg['replace']['id'] = self.last_sent_message['id']
msg['replace']['id'] = self.last_sent_message['id'] # type: ignore
else:
del msg['replace']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment