[backend/core] Move relationships after sending out the migration activity
This commit is contained in:
parent
fbb7140d01
commit
ee6d80aaa2
1 changed files with 1 additions and 1 deletions
|
@ -1233,9 +1233,9 @@ public class UserService(
|
|||
source.MovedToUri = targetUri;
|
||||
await db.SaveChangesAsync();
|
||||
|
||||
await MoveRelationshipsAsync(source, target, sourceUri, targetUri);
|
||||
var move = activityRenderer.RenderMove(userRenderer.RenderLite(source), userRenderer.RenderLite(target));
|
||||
await deliverSvc.DeliverToFollowersAsync(move, source, []);
|
||||
await MoveRelationshipsAsync(source, target, sourceUri, targetUri);
|
||||
}
|
||||
|
||||
public async Task UndoMoveAsync(User user)
|
||||
|
|
Loading…
Add table
Reference in a new issue