mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 17:55:25 +00:00
Merge branch 'dev' of /home/macgirvin/roadhouse into dev
This commit is contained in:
commit
c01f6e085b
1 changed files with 5 additions and 0 deletions
|
@ -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',
|
||||
];
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue