From e48fedd5264f0bd66005dba71621eced0bf0e6e8 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 14 Apr 2021 09:30:19 +0000 Subject: most AP projects do not handle an array for person object URL - provide a string --- Zotlabs/Lib/Activity.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 882bf4a1c..fd4dc4286 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1094,18 +1094,7 @@ class Activity { 'height' => 300, 'width' => 300, ]; - $ret['url'] = [ - [ - 'type' => 'Link', - 'mediaType' => 'text/html', - 'href' => $p['xchan_url'] - ], - [ - 'type' => 'Link', - 'mediaType' => 'text/x-zot+json', - 'href' => $p['xchan_url'] - ] - ]; + $ret['url'] = $p['xchan_url']; $ret['publicKey'] = [ 'id' => $p['xchan_url'], -- cgit v1.2.3