Refactor fetching follow information to a separate function
This commit is contained in:
parent
e8fa477793
commit
e5b850a991
2 changed files with 34 additions and 18 deletions
|
|
@ -16,6 +16,7 @@ defmodule Pleroma.User.Info do
|
|||
field(:source_data, :map, default: %{})
|
||||
field(:note_count, :integer, default: 0)
|
||||
field(:follower_count, :integer, default: 0)
|
||||
# Should be filled in only for remote users
|
||||
field(:following_count, :integer, default: nil)
|
||||
field(:locked, :boolean, default: false)
|
||||
field(:confirmation_pending, :boolean, default: false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue