Fix sending sort order
This commit is contained in:
parent
b8c6decafc
commit
9f8d170dd4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue