mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
use lower return
This commit is contained in:
parent
492a8fe359
commit
d68d14358f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user