implement Move activities #45

Merged
floatingghost merged 13 commits from :move into develop 2022-07-04 16:29:40 +00:00
Showing only changes of commit 126d801c00 - Show all commits

View file

@ -199,8 +199,8 @@ def move_following(origin, target) do
|> preload([:follower])
|> Repo.all()
|> Enum.map(fn following_relationship ->
Pleroma.Web.CommonAPI.unfollow(following_relationship.follower, origin)
Pleroma.Web.CommonAPI.follow(following_relationship.follower, target)
Pleroma.Web.CommonAPI.unfollow(following_relationship.follower, origin)
end)
|> case do
[] ->