aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-14 17:23:19 +0000
committerMario <mario@mariovavti.com>2024-01-14 17:23:19 +0000
commit03819abb22cd8f3c72eaa2b39f424249434f392a (patch)
tree81e8142faafa8e2948c9868b9562af76e98d37ef /Zotlabs
parentd074e2aba09890d60a2287b5bd87c8bc09c35065 (diff)
downloadvolse-hubzilla-03819abb22cd8f3c72eaa2b39f424249434f392a.tar.gz
volse-hubzilla-03819abb22cd8f3c72eaa2b39f424249434f392a.tar.bz2
volse-hubzilla-03819abb22cd8f3c72eaa2b39f424249434f392a.zip
remove acct from webfinger
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index f4c395906..ab5130ada 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -1680,7 +1680,7 @@ class Activity {
$name = t('Unknown');
}
- $webfinger_addr = $person_obj['webfinger'] ?? '';
+ $webfinger_addr = ((isset($person_obj['webfinger'])) ? str_replace('acct:', '', $person_obj['webfinger']) : '');
$hostname = '';
$baseurl = '';
$site_url = '';