Merge pull request #1620 from famedly/krille/add-new-encrypted-event-to-aggregated-events

fix: Delayed encrypted event in timeline not added to aggregated events
This commit is contained in:
Krille-chan 2023-11-28 07:59:22 +01:00 committed by GitHub
commit 4f9581709b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -325,6 +325,7 @@ class Timeline {
store: true, store: true,
updateType: EventUpdateType.history, updateType: EventUpdateType.history,
); );
addAggregatedEvent(events[i]);
onChange?.call(i); onChange?.call(i);
if (events[i].type != EventTypes.Encrypted) { if (events[i].type != EventTypes.Encrypted) {
decryptAtLeastOneEvent = true; decryptAtLeastOneEvent = true;