From d68d14358fcacb9d86856cb345f89909ee599b94 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 May 2021 14:08:45 +0200 Subject: [PATCH] use lower return --- src/matrix/room/timeline/PowerLevels.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/matrix/room/timeline/PowerLevels.js b/src/matrix/room/timeline/PowerLevels.js index 278c3aa4..87be562f 100644 --- a/src/matrix/room/timeline/PowerLevels.js +++ b/src/matrix/room/timeline/PowerLevels.js @@ -41,8 +41,6 @@ export class PowerLevels { } if (typeof userLevel === "number") { return userLevel; - } else { - return 0; } } else if (this._createEvent) { if (userId === this._createEvent.content?.creator) {