diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 55d011b5a..86412aed4 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1654,6 +1654,9 @@ class Activity { ]; $ret['manuallyApprovesFollowers'] = (($auto_follow) ? false : true); + if ($ret['type'] === 'Group') { + $ret['capabilities'] = [ 'acceptsJoins' => true ]; + } // map other nomadic identities linked with this channel $locations = []; @@ -4311,6 +4314,8 @@ class Activity { 'value' => 'schema:value', 'discoverable' => 'toot:discoverable', 'wall' => 'sm:wall', + 'capabilities' => 'litepub:capabilities', + 'acceptsJoins' => 'litepub:acceptsJoins', ]; }