Fix sending sort order

This commit is contained in:
Christian Pauly 2020-06-19 14:00:32 +02:00
parent b8c6decafc
commit 9f8d170dd4

View file

@ -156,8 +156,10 @@ class Timeline {
: null);
if (i < events.length) {
final tempSortOrder = events[i].sortOrder;
events[i] = Event.fromJson(
eventUpdate.content, room, eventUpdate.sortOrder);
events[i].sortOrder = tempSortOrder;
}
} else {
Event newEvent;