Skip to content

Commit 75f7d29

Browse files
authored
Update ActivityPub context and rename implemented specs property (#2068)
1 parent c38a223 commit 75f7d29

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: fixed
3+
4+
Proper implementation of FEP 844e.

includes/activity/class-actor.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ class Actor extends Base_Object {
2323
'https://www.w3.org/ns/activitystreams',
2424
'https://w3id.org/security/v1',
2525
'https://purl.archive.org/socialweb/webfinger',
26-
'https://w3id.org/fep/844e',
2726
array(
2827
'schema' => 'http://schema.org#',
2928
'toot' => 'http://joinmastodon.org/ns#',
@@ -56,6 +55,11 @@ class Actor extends Base_Object {
5655
'@id' => 'toot:attributionDomains',
5756
'@type' => '@id',
5857
),
58+
'implements' => array(
59+
'@id' => 'https://w3id.org/fep/844e/implements',
60+
'@type' => '@id',
61+
'@container' => '@list',
62+
),
5963
'postingRestrictedToMods' => 'lemmy:postingRestrictedToMods',
6064
'discoverable' => 'toot:discoverable',
6165
'indexable' => 'toot:indexable',
@@ -303,9 +307,9 @@ class Actor extends Base_Object {
303307
/**
304308
* Listing Implemented Specifications on the Application Actor
305309
*
306-
* @see https://codeberg.org/helge/fep/src/commit/e1b2a16707b542ea5ea0cfb390ac1abce89f05bb/fep/aaa3/fep-aaa3.md
310+
* @see https://codeberg.org/fediverse/fep/src/branch/main/fep/844e/fep-844e.md
307311
*
308312
* @var array
309313
*/
310-
protected $implemented;
314+
protected $implements;
311315
}

0 commit comments

Comments
 (0)