]> git.mxchange.org Git - friendica.git/blobdiff - include/ostatus.php
Bugfix: Revive dead contacts
[friendica.git] / include / ostatus.php
index 0e2caa2156d8dc6f32db15dcb2a529630e966afa..78916173e040a99167c8064ef3262ba3a886c75c 100644 (file)
@@ -149,6 +149,9 @@ class ostatus {
                // Only update the contacts if it is an OStatus contact
                if ($r && ($r['id'] > 0) && !$onlyfetch && ($contact["network"] == NETWORK_OSTATUS)) {
 
+                       // This contact is vital, so we awake it from the dead
+                       unmark_for_death($contact);
+
                        // Update contact data
 
                        $current = $contact;