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) {