Skip to content

Commit

Permalink
fix: Delayed encrypted event in timeline not added to aggregated events
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Nov 24, 2023
1 parent 9019dfd commit b273d36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/timeline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ class Timeline {
store: true,
updateType: EventUpdateType.history,
);
addAggregatedEvent(events[i]);
onChange?.call(i);
if (events[i].type != EventTypes.Encrypted) {
decryptAtLeastOneEvent = true;
Expand Down

0 comments on commit b273d36

Please sign in to comment.