Merge branch 'krille/fix-sending-sort-order' into 'master'

Fix sending sort order

See merge request famedly/famedlysdk!350
This commit is contained in:
Sorunome 2020-06-20 19:50:49 +00:00
commit 22d8225f46

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;