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:
Niklas Wojtkowiak 2026-02-24 11:19:41 -05:00 committed by Ellis Git
parent 80c9bb4796
commit da561ab792

1
changelog.d/1448.bugfix Normal file
View file

@ -0,0 +1 @@
Prevent removing the admin room alias (`#admins`) to avoid accidentally breaking admin room functionality. Contributed by @0xnim