mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update RelationshipTransformer
This commit is contained in:
parent
26fbbf92ce
commit
6029cc79ab
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ class RelationshipTransformer extends Fractal\TransformerAbstract
|
|||
'id' => (string) $profile->id,
|
||||
'following' => $user->follows($profile),
|
||||
'followed_by' => $user->followedBy($profile),
|
||||
'blocking' => null,
|
||||
'muting' => null,
|
||||
'blocking' => $user->blockedIds()->contains($profile->id),
|
||||
'muting' => $user->mutedIds()->contains($profile->id),
|
||||
'muting_notifications' => null,
|
||||
'requested' => null,
|
||||
'domain_blocking' => null,
|
||||
|
|
Loading…
Add table
Reference in a new issue