aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
authorAndrzej Budziński <andrzej@budzinski.ovh>2021-02-03 15:00:24 +0100
committerAndrzej Budziński <andrzej@budzinski.ovh>2021-02-03 15:00:24 +0100
commitba73845badef5c653c05c70ca27a5b37e2f25f97 (patch)
tree6b22545076df5f80b8714f07e92a518af24f0dc5 /Zotlabs/Lib/Libzot.php
parent7ece28b9814e6bc7ea2879335520641561dc0ba5 (diff)
parent34b28cd8d36c7805e65c442ff1588ccf5165387a (diff)
downloadvolse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.tar.gz
volse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.tar.bz2
volse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.zip
Merge branch 'dev' into translation-pl
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index fd30f05f5..0ead8402e 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -763,8 +763,8 @@ class Libzot {
'xchan_guid' => $arr['id'],
'xchan_guid_sig' => $arr['id_sig'],
'xchan_pubkey' => $arr['public_key'],
- 'xchan_photo_mimetype' => $arr['photo_mimetype'],
- 'xchan_photo_l' => $arr['photo'],
+ 'xchan_photo_mimetype' => $arr['photo']['type'],
+ 'xchan_photo_l' => $arr['photo']['url'],
'xchan_addr' => escape_tags($arr['primary_location']['address']),
'xchan_url' => escape_tags($arr['primary_location']['url']),
'xchan_connurl' => $arr['primary_location']['connections_url'],
@@ -772,7 +772,7 @@ class Libzot {
'xchan_connpage' => $arr['connect_url'],
'xchan_name' => (($arr['name']) ? escape_tags($arr['name']) : '-'),
'xchan_network' => 'zot6',
- 'xchan_photo_date' => $arr['photo_updated'],
+ 'xchan_photo_date' => $arr['photo']['updated'],
'xchan_name_date' => $arr['name_updated'],
'xchan_hidden' => intval(1 - intval($arr['searchable'])),
'xchan_selfcensored' => $arr['adult_content'],