aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-05 19:24:03 -0700
committerzotlabs <mike@macgirvin.com>2017-10-05 19:24:03 -0700
commitd2e22d8c2f5ee7c0bca1fa63d39a6822582106e8 (patch)
tree305fbcd0a1e55de48d5e8a406c002f61f3512079 /Zotlabs/Render
parent2862baeee1cbecead3c9d38d2798140ac0256d1a (diff)
parent0ddc3e4af2fe70159b36f86cb367d1a24ec6ac71 (diff)
downloadvolse-hubzilla-d2e22d8c2f5ee7c0bca1fa63d39a6822582106e8.tar.gz
volse-hubzilla-d2e22d8c2f5ee7c0bca1fa63d39a6822582106e8.tar.bz2
volse-hubzilla-d2e22d8c2f5ee7c0bca1fa63d39a6822582106e8.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Render')
-rw-r--r--Zotlabs/Render/Comanche.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Render/Comanche.php b/Zotlabs/Render/Comanche.php
index beee9796e..d126cb3da 100644
--- a/Zotlabs/Render/Comanche.php
+++ b/Zotlabs/Render/Comanche.php
@@ -168,6 +168,8 @@ class Comanche {
return $y['xchan_addr'];
elseif($x[1] == 'name')
return $y['xchan_name'];
+ elseif($x[1] == 'webname')
+ return substr($y['xchan_addr'],0,strpos($y['xchan_addr'],'@'));
return false;
}
return get_observer_hash();