mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
add missing remove aliases on room upgrade transferring room aliases
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
2d9aab2e79
commit
c40ed0c98e
1 file changed
+5
@@ -756,6 +756,11 @@ pub(crate) async fn upgrade_room_route(
|
|||||||
.local_aliases_for_room(&body.room_id)
|
.local_aliases_for_room(&body.room_id)
|
||||||
.filter_map(Result::ok)
|
.filter_map(Result::ok)
|
||||||
{
|
{
|
||||||
|
services
|
||||||
|
.rooms
|
||||||
|
.alias
|
||||||
|
.remove_alias(&alias, sender_user)
|
||||||
|
.await?;
|
||||||
services
|
services
|
||||||
.rooms
|
.rooms
|
||||||
.alias
|
.alias
|
||||||
|
|||||||
Reference in new issue
Block a user