Remove the "addr" when webfinger fails
This commit is contained in:
parent
62217735f0
commit
7b70eefbb6
1 changed files with 2 additions and 0 deletions
|
@ -295,6 +295,8 @@ class APContact
|
||||||
if (!empty($data['subscribe'])) {
|
if (!empty($data['subscribe'])) {
|
||||||
$apcontact['subscribe'] = $data['subscribe'];
|
$apcontact['subscribe'] = $data['subscribe'];
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$apcontact['addr'] = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue