add missing remove aliases on room upgrade transferring room aliases
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
2d9aab2e79
commit
c40ed0c98e
1 changed files with 5 additions and 0 deletions
|
@ -756,6 +756,11 @@ pub(crate) async fn upgrade_room_route(
|
|||
.local_aliases_for_room(&body.room_id)
|
||||
.filter_map(Result::ok)
|
||||
{
|
||||
services
|
||||
.rooms
|
||||
.alias
|
||||
.remove_alias(&alias, sender_user)
|
||||
.await?;
|
||||
services
|
||||
.rooms
|
||||
.alias
|
||||
|
|
Loading…
Add table
Reference in a new issue