summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 45c7002c..c44b5bf0 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1974,6 +1974,8 @@ class PrivateTab(ChatTab):
replaced = True
except:
log.error('Unable to correct a message', exc_info=True)
+ else:
+ del msg['replace']
if msg['body'].find('\x19') != -1:
msg.enable('html')
@@ -3195,6 +3197,8 @@ class ConversationTab(ChatTab):
replaced = True
except:
log.error('Unable to correct a message', exc_info=True)
+ else:
+ del msg['replace']
if msg['body'].find('\x19') != -1:
msg.enable('html')
msg['html']['body'] = xhtml.poezio_colors_to_html(msg['body'])