summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index f63ff062..dd8e26af 100644
--- a/src/core.py
+++ b/src/core.py
@@ -2455,7 +2455,8 @@ class Core(object):
date = date if delayed == True else None
replaced_id = message['replace']['id']
if replaced_id is not '':
- tab.modify_message(body, replaced_id, message['id'])
+ if tab.modify_message(body, replaced_id, message['id'], date, nick_from):
+ self.events.trigger('highlight', message, tab)
elif tab.add_message(body, date, nick_from, history=True if date else False, identifier=message['id']):
self.events.trigger('highlight', message, tab)
if tab is self.current_tab():