Fix textview sorting

This commit is contained in:
Philipp Hörist 2018-10-05 23:47:59 +02:00
parent 1e933c2681
commit dbd25c590d

View file

@ -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: