[PLUGIN][ActivityPub] Provide ActivityStreams 2.0 responses for every Collection

Implemented ActivityPub Outbox
This commit is contained in:
2022-01-11 20:28:15 +00:00
parent f3a7e8f04d
commit 59b8bdf99b
9 changed files with 214 additions and 15 deletions

View File

@@ -60,7 +60,7 @@ class Language extends Component
/**
* Populate $note_expr or $actor_expr with an expression to match a language
*/
public function onCollectionQueryCreateExpression(ExpressionBuilder $eb, string $term, ?string $language, ?Actor $actor, &$note_expr, &$actor_expr): bool
public function onCollectionQueryCreateExpression(ExpressionBuilder $eb, string $term, ?string $locale, ?Actor $actor, &$note_expr, &$actor_expr): bool
{
$search_term = str_contains($term, ':') ? explode(':', $term)[1] : $term;