Merge remote-tracking branch 'upstream/develop' into issue-3571-2
This commit is contained in:
commit
a8db1282e2
1 changed files with 5 additions and 3 deletions
|
@ -827,9 +827,11 @@ class Probe {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($webfinger["aliases"] as $alias) {
|
if (is_array($webfinger["aliases"])) {
|
||||||
if (substr($alias, 0, 5) == 'acct:') {
|
foreach ($webfinger["aliases"] as $alias) {
|
||||||
$data["addr"] = substr($alias, 5);
|
if (substr($alias, 0, 5) == 'acct:') {
|
||||||
|
$data["addr"] = substr($alias, 5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue