aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-14 19:43:47 -0700
committerredmatrix <git@macgirvin.com>2016-07-14 19:43:47 -0700
commitf3eb9af046b155c53a194db6104a24b6d6756072 (patch)
tree06c27921afd89a0bae18553bb069898b30517705 /include/security.php
parente6c861480138ba871907ed6994d0fb840fd0e77f (diff)
downloadvolse-hubzilla-f3eb9af046b155c53a194db6104a24b6d6756072.tar.gz
volse-hubzilla-f3eb9af046b155c53a194db6104a24b6d6756072.tar.bz2
volse-hubzilla-f3eb9af046b155c53a194db6104a24b6d6756072.zip
more ZAT work
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php
index 55e9d906f..c2515a6e1 100644
--- a/include/security.php
+++ b/include/security.php
@@ -102,6 +102,8 @@ function atoken_xchan($atoken) {
return [
'xchan_hash' => $atoken['atoken_uid'] . '.' . $atoken['atoken_name'],
+ 'xchan_name' => $atoken['atoken_name'],
+ 'xchan_addr' => t('guest:') . $atoken['atoken_name'] . '@' . \App::get_hostname(),
'xchan_network' => 'unknown',
'xchan_hidden' => 1,
'xchan_photo_mimetype' => 'image/jpeg',