diff options
author | friendica <info@friendica.com> | 2012-11-01 19:49:00 +1100 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-01 19:49:00 +1100 |
commit | ca8a351814790ec810c9062ae2df28bac3c3109b (patch) | |
tree | bd7458dad65651948fced60e22a7f6f756060076 /mod | |
parent | 1b74753c115ddae3f71f51e5d6462fef7771392f (diff) | |
download | volse-hubzilla-ca8a351814790ec810c9062ae2df28bac3c3109b.tar.gz volse-hubzilla-ca8a351814790ec810c9062ae2df28bac3c3109b.tar.bz2 volse-hubzilla-ca8a351814790ec810c9062ae2df28bac3c3109b.zip |
add mimetype to photo info
Diffstat (limited to 'mod')
-rw-r--r-- | mod/zfinger.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php index 4c0e3b5fc..0059d078a 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -54,16 +54,17 @@ function zfinger_init(&$a) { // Communication details - $ret['guid'] = $e['xchan_guid']; - $ret['guid_sig'] = $e['xchan_guid_sig']; - $ret['key'] = $e['xchan_pubkey']; - $ret['name'] = $e['xchan_name']; - $ret['name_updated'] = $e['xchan_name_date']; - $ret['address'] = $e['xchan_addr']; - $ret['photo'] = $e['xchan_photo_l']; - $ret['photo_updated'] = $e['xchan_photo_date']; - $ret['target'] = $ztarget; - $ret['target_sig'] = $zsig; + $ret['guid'] = $e['xchan_guid']; + $ret['guid_sig'] = $e['xchan_guid_sig']; + $ret['key'] = $e['xchan_pubkey']; + $ret['name'] = $e['xchan_name']; + $ret['name_updated'] = $e['xchan_name_date']; + $ret['address'] = $e['xchan_addr']; + $ret['photo_mimetype'] = $e['xchan_photo_mimetype'], + $ret['photo'] = $e['xchan_photo_l']; + $ret['photo_updated'] = $e['xchan_photo_date']; + $ret['target'] = $ztarget; + $ret['target_sig'] = $zsig; $ret['permissions'] = get_all_perms($e['channel_id'],(($ztarget && $zsig) ? base64url_encode(hash('whirlpool',$ztarget . $zsig,true)) |