]> git.mxchange.org Git - friendica.git/commitdiff
Remove the "addr" when webfinger fails
authorMichael <heluecht@pirati.ca>
Thu, 4 Jun 2020 22:08:31 +0000 (22:08 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 4 Jun 2020 22:08:31 +0000 (22:08 +0000)
src/Model/APContact.php

index 73c3ad85130d29dcb7bf0d2adf91000a5b9cde57..68bd80f037b70068c319c936c96c57641f4161fd 100644 (file)
@@ -295,6 +295,8 @@ class APContact
                                if (!empty($data['subscribe'])) {
                                        $apcontact['subscribe'] = $data['subscribe'];
                                }
+                       } else {
+                               $apcontact['addr'] = null;
                        }
                }