aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-09 14:05:00 +0000
committerMario <mario@mariovavti.com>2021-02-09 14:05:00 +0000
commit3b3c93f9b37a049690bc60ceae75883b28d89a2a (patch)
tree01afb21bb45bab6867839a2586218f3e59f418f8 /Zotlabs/Lib
parentb4693870ba647455e6bd0a3919a544130cee118b (diff)
downloadvolse-hubzilla-3b3c93f9b37a049690bc60ceae75883b28d89a2a.tar.gz
volse-hubzilla-3b3c93f9b37a049690bc60ceae75883b28d89a2a.tar.bz2
volse-hubzilla-3b3c93f9b37a049690bc60ceae75883b28d89a2a.zip
undo accidental revert in last commit
Diffstat (limited to 'Zotlabs/Lib')
-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 a615cee6e..c2e388264 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'],