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

This commit is contained in:
mathieui 2021-03-20 21:05:00 +01:00
parent d09d30c52c
commit 9bd3826fe7

View file

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