[ActivityPub] Fix issues concerning Activity URIs

And some other minor bugs.
This commit is contained in:
Diogo Cordeiro
2020-08-28 01:12:40 +01:00
parent 11ebb98919
commit c75bf1a19d
13 changed files with 169 additions and 67 deletions

View File

@@ -180,6 +180,14 @@ class ActivityPubPlugin extends Plugin
$acceptHeaders
);
// v3
$m->connect(
'activity/:id',
['action' => 'apNotice'],
['id' => '[0-9]+'],
);
// v2
$m->connect(
'notice/:id',
['action' => 'apNotice'],