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 authored and Ellis Git committed 2026-03-04 15:05:24 +00:00
1 parent 80c9bb4796
commit da561ab792
1 file changed
+1
+1
View File
@@ -0,0 +1 @@
Prevent removing the admin room alias (`#admins`) to avoid accidentally breaking admin room functionality. Contributed by @0xnim