From ea8f3e5a6a3bdcec6f98f741010edfeea7b8f8bd Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 11 Feb 2022 17:14:56 +0100 Subject: [PATCH] remove argument that is already bound in BaseRoom, making decryption fail --- src/matrix/room/timeline/Timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/room/timeline/Timeline.js b/src/matrix/room/timeline/Timeline.js index 19e9e647..c6852492 100644 --- a/src/matrix/room/timeline/Timeline.js +++ b/src/matrix/room/timeline/Timeline.js @@ -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;