Remove the "addr" when webfinger fails
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user