diff --git a/includes/rest/class-webfinger.php b/includes/rest/class-webfinger.php index f69593f..34ae392 100644 --- a/includes/rest/class-webfinger.php +++ b/includes/rest/class-webfinger.php @@ -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; } }