fix: type-ignore last-sent message until mypy makes sense
This commit is contained in:
parent
d09d30c52c
commit
9bd3826fe7
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in a new issue