diff options
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 717219761..64588f9e3 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3555,15 +3555,15 @@ class Activity { // TODO: implement FEP-fb2a at the sending side and deprecate PropertyValue if ((isset($t['type']) && $t['type'] === 'PropertyValue') && (isset($t['name']) && $t['name'] === 'Protocol') && - (isset($t['value']) && in_array($t['value'], ['zot6', 'activitypub', 'diaspora'])) + isset($t['value']) ) { - $ret[] = $t['value']; + $ret[] = trim($t['value']); } // FEP-fb2a - actor metadata if ((isset($t['type']) && $t['type'] === 'Note') && (isset($t['name']) && $t['name'] === 'Protocols') && - (isset($t['content']) && (str_contains($t['content'], 'zot6') || str_contains($t['content'], 'activitypub') || str_contains($t['content'], 'diaspora'))) + isset($t['content']) ) { $ret = array_map('trim', explode(',', $t['content'])); } |