Use gravity instead of verb
This commit is contained in:
parent
8c2f91573a
commit
76dab3b2d7
14 changed files with 59 additions and 56 deletions
|
@ -567,7 +567,7 @@ function item_post(App $a) {
|
|||
$network = NETWORK_DFRN;
|
||||
}
|
||||
|
||||
$gravity = ($parent ? 6 : 0);
|
||||
$gravity = ($parent ? GRAVITY_COMMENT : GRAVITY_PARENT);
|
||||
|
||||
// even if the post arrived via API we are considering that it
|
||||
// originated on this site by default for determining relayability.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue