aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-14 09:30:19 +0000
committerMario <mario@mariovavti.com>2021-04-14 09:30:19 +0000
commite48fedd5264f0bd66005dba71621eced0bf0e6e8 (patch)
tree5b2d37b9619500e8b2b93495afb8c01d762bdfba
parentb899ed3d6407e7219bf5eb025e76caeb6b39e50d (diff)
downloadvolse-hubzilla-e48fedd5264f0bd66005dba71621eced0bf0e6e8.tar.gz
volse-hubzilla-e48fedd5264f0bd66005dba71621eced0bf0e6e8.tar.bz2
volse-hubzilla-e48fedd5264f0bd66005dba71621eced0bf0e6e8.zip
most AP projects do not handle an array for person object URL - provide a string
-rw-r--r--Zotlabs/Lib/Activity.php13
1 files changed, 1 insertions, 12 deletions
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'],