summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 2bafc871..8edbd8dc 100644
--- a/src/core.py
+++ b/src/core.py
@@ -3094,6 +3094,9 @@ class Core(object):
if not replaced and tab.add_message(body, date, nick_from, history=delayed, identifier=message['id'], jid=message['from'], typ=1):
self.events.trigger('highlight', message, tab)
+ if message['from'].resource == tab.own_nick:
+ tab.last_sent_message = message
+
if tab is self.current_tab():
tab.text_win.refresh()
tab.info_header.refresh(tab, tab.text_win)