Fix textview sorting
This commit is contained in:
parent
ec839cc1d4
commit
31b054723e
|
@ -1072,7 +1072,7 @@ class ConversationTextview(GObject.GObject):
|
||||||
new_mark = buffer_.create_mark(
|
new_mark = buffer_.create_mark(
|
||||||
str(self.line), temp_iter, left_gravity=False)
|
str(self.line), temp_iter, left_gravity=False)
|
||||||
|
|
||||||
if not index:
|
if index is None:
|
||||||
# New Message
|
# New Message
|
||||||
self.message_list.append((tim, new_mark, msg_stanza_id))
|
self.message_list.append((tim, new_mark, msg_stanza_id))
|
||||||
elif corrected:
|
elif corrected:
|
||||||
|
|
Loading…
Reference in New Issue