]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/OStatus.php
Merge pull request #8462 from annando/issue-8254-3
[friendica.git] / src / Protocol / OStatus.php
index b707c62c556b3f34c6fc1408b3431e8b71a0f69a..bf3a6ef9d597021227c21bd57b6096dbd592c842 100644 (file)
@@ -247,7 +247,7 @@ class OStatus
                        $gcid = GContact::update($contact);
 
                        GContact::link($gcid, $contact["uid"], $contact["id"]);
-               } elseif ($contact["network"] != Protocol::DFRN) {
+               } elseif (empty($contact["network"]) || ($contact["network"] != Protocol::DFRN)) {
                        $contact = [];
                }