mirror of
https://git.rape.pet/ulith/amputoma.git
synced 2025-02-24 13:43:59 +01:00
Fix Pleroma.FollowingRelationship.move_following/2
This commit is contained in:
parent
624e720aa4
commit
05fb8d0084
1 changed files with 6 additions and 2 deletions
|
@ -121,8 +121,12 @@ defmodule Pleroma.FollowingRelationship do
|
|||
Pleroma.Web.CommonAPI.follow(following_relationship.follower, target)
|
||||
end)
|
||||
|> case do
|
||||
[] -> :ok
|
||||
_ -> move_following(origin, target)
|
||||
[] ->
|
||||
User.update_follower_count(origin)
|
||||
:ok
|
||||
|
||||
_ ->
|
||||
move_following(origin, target)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue