Commit dbd25c59 authored by Philipp Hörist's avatar Philipp Hörist

Fix textview sorting

parent 1e933c26
......@@ -1072,7 +1072,7 @@ class ConversationTextview(GObject.GObject):
new_mark = buffer_.create_mark(
str(self.line), temp_iter, left_gravity=False)
if not index:
if index is None:
# New Message
self.message_list.append((tim, new_mark, msg_stanza_id))
elif corrected:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment