]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/OStatus.php
merged from develop and increased DB-version
[friendica.git] / src / Protocol / OStatus.php
index ffa698ee805edccceb2a81411825490abc8ba47f..d94f44814f899801bd59e423e315f0955fd8d694 100644 (file)
@@ -341,7 +341,7 @@ class OStatus
                $header["type"] = "remote";
                $header["wall"] = 0;
                $header["origin"] = 0;
-               $header["gravity"] = GRAVITY_PARENT;
+               $header["gravity"] = GRAVITY_COMMENT;
 
                $first_child = $doc->firstChild->tagName;
 
@@ -683,9 +683,9 @@ class OStatus
                        }
 
                        $item["type"] = 'remote-comment';
-                       $item["gravity"] = GRAVITY_COMMENT;
                } else {
                        $item["parent-uri"] = $item["uri"];
+                       $item["gravity"] = GRAVITY_PARENT;
                }
 
                if (($item['author-link'] != '') && !empty($item['protocol'])) {