Skip to content
Snippets Groups Projects
Commit e96a2f26 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix placing corrected message when it contains special text. Fixes #7372

parent 1bd9d8e5
No related branches found
No related tags found
No related merge requests found
...@@ -1085,7 +1085,6 @@ class ConversationTextview(gobject.GObject): ...@@ -1085,7 +1085,6 @@ class ConversationTextview(gobject.GObject):
special_text = otext[start:end] special_text = otext[start:end]
if start > index: if start > index:
text_before_special_text = otext[index:start] text_before_special_text = otext[index:start]
end_iter = buffer_.get_end_iter()
# we insert normal text # we insert normal text
insert_tags_func(end_iter, text_before_special_text, *other_tags) insert_tags_func(end_iter, text_before_special_text, *other_tags)
index = end # update index index = end # update index
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment