MastoAPI: Add blocking to AccountView.
This commit is contained in:
parent
9b63647aff
commit
33beb51da4
2 changed files with 3 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|
|||
id: target.id,
|
||||
following: User.following?(user, target),
|
||||
followed_by: User.following?(target, user),
|
||||
blocking: false,
|
||||
blocking: User.blocks?(user, target),
|
||||
muting: false,
|
||||
requested: false,
|
||||
domain_blocking: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue