remove argument that is already bound in BaseRoom, making decryption fail

This commit is contained in:
Bruno Windels 2022-02-11 17:14:56 +01:00
parent a184ad528f
commit ea8f3e5a6a

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;