]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/OStatus.php
Fixing https://github.com/friendica/friendica/issues/6338#issuecomment-466749280
[friendica.git] / src / Protocol / OStatus.php
index 45071f82e2a49676dd02e6b554e789ba3ed22530..38105e452a929dbdf589675964837c4b7e4c39cb 100644 (file)
@@ -72,7 +72,7 @@ class OStatus
                }
                $author["author-id"] = Contact::getIdForURL($author["author-link"]);
 
-               $author["contact-id"] = $contact["id"];
+               $author['contact-id'] = defaults($contact, 'id', $author['author-id']);
 
                $contact = [];