fix(rooms): prevent removing admin room alias
Only the server user can now remove the #admins alias, matching the existing check for setting the alias. This prevents users from accidentally breaking the admin room functionality. fixes #1408
This commit is contained in:
parent
80c9bb4796
commit
da561ab792
1 changed files with 1 additions and 0 deletions
1
changelog.d/1448.bugfix
Normal file
1
changelog.d/1448.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Prevent removing the admin room alias (`#admins`) to avoid accidentally breaking admin room functionality. Contributed by @0xnim
|
||||
Loading…
Add table
Reference in a new issue