1
0
Fork 0

Use gravity instead of verb

This commit is contained in:
Michael 2018-06-27 18:09:33 +00:00
commit 76dab3b2d7
14 changed files with 59 additions and 56 deletions

View file

@ -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.