From e763771cc2ba39df66faf8baa0638e298edab27e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 11 Sep 2020 14:45:38 +0200 Subject: [PATCH] cleanup --- src/matrix/room/Room.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } /**