Skip to content
Snippets Groups Projects
Commit f712c0ce authored by Matthias Ahouansou's avatar Matthias Ahouansou Committed by 🥺
Browse files

fix: restrict who can remove aliases


Previously, anyone could remove any local alias, meaning that someone could re-route a popular alias elsewhere
Now, only the creator of the alias, users who can set canonical aliases for the room, server admins and the server user can delete aliases

added some additional changes/fixes to adapt to our codebase

Co-authored-by: default avatarstrawberry <strawberry@puppygock.gay>
Signed-off-by: default avatarstrawberry <strawberry@puppygock.gay>
parent 26d103d3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment