Add Group Identifier to WebFinger endpoint
This commit is contained in:
parent
e529b19b8b
commit
1f5ef3ea2c
1 changed files with 6 additions and 0 deletions
|
@ -113,6 +113,12 @@ class Webfinger {
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ( 'Group' === $user->get_type() ) {
|
||||||
|
$profile['links'][0]['properties'] = array(
|
||||||
|
'https://www.w3.org/ns/activitystreams#type' => 'Group',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return $profile;
|
return $profile;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue