Hubzilla doesn't return the handle in the hcard

This commit is contained in:
Michael 2017-10-27 06:17:24 +00:00
commit 0b7e8b7fb4
3 changed files with 6 additions and 4 deletions

View file

@ -24,7 +24,7 @@ function xrd_init(App $a) {
if(substr($uri,0,4) === 'http') {
$acct = false;
$name = basename($uri);
$name = ltrim(basename($uri), '~');
} else {
$acct = true;
$local = str_replace('acct:', '', $uri);