summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-20 21:05:00 +0100
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commit9bd3826fe746288431c4e6564cab53a1943e47f1 (patch)
tree149e602d5ce7989c4a6d5103f67ef9dbe8520734 /poezio
parentd09d30c52c6222f5811f420ed46d0078bdad6a2b (diff)
downloadpoezio-9bd3826fe746288431c4e6564cab53a1943e47f1.tar.gz
poezio-9bd3826fe746288431c4e6564cab53a1943e47f1.tar.bz2
poezio-9bd3826fe746288431c4e6564cab53a1943e47f1.tar.xz
poezio-9bd3826fe746288431c4e6564cab53a1943e47f1.zip
fix: type-ignore last-sent message until mypy makes sense
Diffstat (limited to 'poezio')
-rw-r--r--poezio/tabs/privatetab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py
index a00f032d..a85518af 100644
--- a/poezio/tabs/privatetab.py
+++ b/poezio/tabs/privatetab.py
@@ -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']