projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a23a16b
)
Fix: Likes from OStatus got the gravity of comments
author
Michael
<heluecht@pirati.ca>
Tue, 3 Jul 2018 04:58:34 +0000
(
04:58
+0000)
committer
Michael
<heluecht@pirati.ca>
Tue, 3 Jul 2018 04:58:34 +0000
(
04:58
+0000)
src/Protocol/OStatus.php
patch
|
blob
|
history
diff --git
a/src/Protocol/OStatus.php
b/src/Protocol/OStatus.php
index 4538d36dfa11676844c858661493d1ddf81c0c89..5a30bfd2c3da0c08c4dc91af4cacaba510d4d8e7 100644
(file)
--- a/
src/Protocol/OStatus.php
+++ b/
src/Protocol/OStatus.php
@@
-341,7
+341,7
@@
class OStatus
$header["type"] = "remote";
$header["wall"] = 0;
$header["origin"] = 0;
- $header["gravity"] = GRAVITY_
PAR
ENT;
+ $header["gravity"] = GRAVITY_
COMM
ENT;
$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'])) {