Add follow information refetching after following/unfollowing
This commit is contained in:
parent
183da33e00
commit
0c2dcb4c69
4 changed files with 98 additions and 42 deletions
|
|
@ -330,4 +330,14 @@ defmodule Pleroma.User.Info do
|
|||
|
||||
cast(info, params, [:muted_reblogs])
|
||||
end
|
||||
|
||||
def follow_information_update(info, params) do
|
||||
info
|
||||
|> cast(params, [
|
||||
:hide_followers,
|
||||
:hide_follows,
|
||||
:follower_count,
|
||||
:following_count
|
||||
])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue