mastodon api: properly track if an account is locked or not
This commit is contained in:
parent
1f3eb0f470
commit
c0ca9f82b9
4 changed files with 7 additions and 4 deletions
|
|
@ -67,7 +67,8 @@ defmodule Pleroma.User do
|
|||
%{
|
||||
following_count: length(user.following) - oneself,
|
||||
note_count: user.info["note_count"] || 0,
|
||||
follower_count: user.info["follower_count"] || 0
|
||||
follower_count: user.info["follower_count"] || 0,
|
||||
locked: user.info["locked"] || false
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue