summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-25 22:20:43 +0100
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commit48a5b3e769783944106a569ebbd25ad82da1a4bf (patch)
treeb2a6d544b310506bb65ddb5213a1b763603f2271
parent6ebffc1decbf9386e5a38b6544b6d4d05d37498f (diff)
downloadpoezio-48a5b3e769783944106a569ebbd25ad82da1a4bf.tar.gz
poezio-48a5b3e769783944106a569ebbd25ad82da1a4bf.tar.bz2
poezio-48a5b3e769783944106a569ebbd25ad82da1a4bf.tar.xz
poezio-48a5b3e769783944106a569ebbd25ad82da1a4bf.zip
fix: last_sent_message for conversation tab
-rw-r--r--poezio/tabs/conversationtab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/conversationtab.py b/poezio/tabs/conversationtab.py
index 2c0d9429..fc89146e 100644
--- a/poezio/tabs/conversationtab.py
+++ b/poezio/tabs/conversationtab.py
@@ -123,7 +123,7 @@ class ConversationTab(OneToOneTab):
return
replaced = False
if correct or msg['replace']['id']:
- msg['replace']['id'] = self.last_sent_message['id']
+ msg['replace']['id'] = self.last_sent_message['id'] # type: ignore
else:
del msg['replace']
if msg['body'].find('\x19') != -1: