Merge branch 'krille/fix-sending-sort-order' into 'master'
Fix sending sort order See merge request famedly/famedlysdk!350
This commit is contained in:
commit
22d8225f46
|
@ -156,8 +156,10 @@ class Timeline {
|
||||||
: null);
|
: null);
|
||||||
|
|
||||||
if (i < events.length) {
|
if (i < events.length) {
|
||||||
|
final tempSortOrder = events[i].sortOrder;
|
||||||
events[i] = Event.fromJson(
|
events[i] = Event.fromJson(
|
||||||
eventUpdate.content, room, eventUpdate.sortOrder);
|
eventUpdate.content, room, eventUpdate.sortOrder);
|
||||||
|
events[i].sortOrder = tempSortOrder;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Event newEvent;
|
Event newEvent;
|
||||||
|
|
Loading…
Reference in a new issue