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
|
|
@ -26,7 +26,7 @@ defmodule Pleroma.Web.ActivityPub.UserView do
|
|||
"name" => user.name,
|
||||
"summary" => user.bio,
|
||||
"url" => user.ap_id,
|
||||
"manuallyApprovesFollowers" => false,
|
||||
"manuallyApprovesFollowers" => user.info["locked"] || false,
|
||||
"publicKey" => %{
|
||||
"id" => "#{user.ap_id}#main-key",
|
||||
"owner" => user.ap_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue