aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-05 11:25:39 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-05 11:25:39 +0200
commit5be9477f21626469dedcff4f96243be2bfafdb71 (patch)
treefcf56e3e85e6d28d8901ef3a0a638bfb40212b51 /Zotlabs/Render
parent6f88d5e92be06ad8fa61f900e8a4fb41ba54135e (diff)
parent15b9a67c01964b83ac724945fe416dd35f66e914 (diff)
downloadvolse-hubzilla-5be9477f21626469dedcff4f96243be2bfafdb71.tar.gz
volse-hubzilla-5be9477f21626469dedcff4f96243be2bfafdb71.tar.bz2
volse-hubzilla-5be9477f21626469dedcff4f96243be2bfafdb71.zip
Merge remote-tracking branch 'mike/master' into dev
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();