Remove the "addr" when webfinger fails

This commit is contained in:
Michael 2020-06-04 22:08:31 +00:00
parent 62217735f0
commit 7b70eefbb6

View file

@ -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;
} }
} }