Merge branch 'bugfix/follower_count' into 'develop'
update the follower count when a follower is blocked See merge request pleroma/pleroma!1033
This commit is contained in:
commit
0a02ed7a2f
2 changed files with 19 additions and 0 deletions
|
|
@ -945,6 +945,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