Add logic for keeping follow_request_count up-to-date on the follow,
`approve_friend_request`, and `deny_friend_request` actions. Add follow_request_count to the user view.
This commit is contained in:
parent
ea2698beb7
commit
ecdf0657ba
9 changed files with 91 additions and 18 deletions
|
|
@ -12,6 +12,7 @@ defmodule Pleroma.User.Info do
|
|||
field(:source_data, :map, default: %{})
|
||||
field(:note_count, :integer, default: 0)
|
||||
field(:follower_count, :integer, default: 0)
|
||||
field(:follow_request_count, :integer, default: 0)
|
||||
field(:locked, :boolean, default: false)
|
||||
field(:confirmation_pending, :boolean, default: false)
|
||||
field(:confirmation_token, :string, default: nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue