Merge pull request #663 from vector-im/bwindels/fix-reply-not-loading

Fix replies from /context not loading in e2ee rooms
This commit is contained in:
Bruno Windels 2022-02-11 17:20:06 +01:00 committed by GitHub
commit 34ec0e2c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,7 +382,7 @@ export class Timeline {
};
const eventEntry = new NonPersistedEventEntry(entry, this._fragmentIdComparer);
if (this._decryptEntries) {
const request = this._decryptEntries(DecryptionSource.Timeline, [eventEntry]);
const request = this._decryptEntries([eventEntry]);
await request.complete();
}
return eventEntry;