diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index f4b69229..1ea18b4e 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -243,8 +243,7 @@ export class Room extends EventEmitter { } needsAfterSyncCompleted({memberChanges}) { - const result = this._roomEncryption?.needsToShareKeys(memberChanges); - return result; + return this._roomEncryption?.needsToShareKeys(memberChanges); } /**