summaryrefslogtreecommitdiff
path: root/poezio/core/handlers.py
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2020-04-05 02:58:02 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2020-04-05 02:58:02 +0200
commit8a25762e7be52022cd377a563efb5be1534532b3 (patch)
tree4881c2fff14118b115c1a636405439b62d6a0b5f /poezio/core/handlers.py
parent747deb41e68ea6331e7bf66294e7b21bf63d148c (diff)
downloadpoezio-8a25762e7be52022cd377a563efb5be1534532b3.tar.gz
poezio-8a25762e7be52022cd377a563efb5be1534532b3.tar.bz2
poezio-8a25762e7be52022cd377a563efb5be1534532b3.tar.xz
poezio-8a25762e7be52022cd377a563efb5be1534532b3.zip
/correct: send new-style LMC
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r--poezio/core/handlers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index 9089cd0c..94b4da5c 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -770,7 +770,7 @@ class HandlerCore:
self.core.events.trigger('highlight', message, tab)
if message['from'].resource == tab.own_nick:
- tab.last_sent_message = message
+ tab.set_last_sent_message(message, correct=replaced)
if tab is self.core.tabs.current_tab:
tab.text_win.refresh()
@@ -862,7 +862,7 @@ class HandlerCore:
jid=message['from'],
typ=1)
if sent:
- tab.last_sent_message = message
+ tab.set_last_sent_message(message, correct=replaced)
else:
tab.last_remote_message = datetime.now()