update the follower count when a follower is blocked
This commit is contained in:
parent
3c5daa0235
commit
07afb9b537
2 changed files with 19 additions and 0 deletions
|
|
@ -937,6 +937,8 @@ defmodule Pleroma.User do
|
|||
unfollow(blocked, blocker)
|
||||
end
|
||||
|
||||
{:ok, blocker} = update_follower_count(blocker)
|
||||
|
||||
info_cng =
|
||||
blocker.info
|
||||
|> User.Info.add_to_block(ap_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue