merged from develop and increased DB-version

This commit is contained in:
Philipp Holzer 2018-07-04 23:44:11 +02:00
commit 19209f6826
No known key found for this signature in database
GPG key ID: 58160D7D6AF942B6
29 changed files with 3900 additions and 3515 deletions

View 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'])) {