Merge pull request #4473 from annando/issue-4228
Don't post an item if it belongs to a picture upload without an post
This commit is contained in:
commit
2351e14e16
|
@ -2128,6 +2128,7 @@ class OStatus
|
||||||
AND `item`.`created` > '%s'
|
AND `item`.`created` > '%s'
|
||||||
AND NOT `item`.`deleted`
|
AND NOT `item`.`deleted`
|
||||||
AND NOT `item`.`private`
|
AND NOT `item`.`private`
|
||||||
|
AND `item`.`visible`
|
||||||
AND `thread`.`network` IN ('%s', '%s')
|
AND `thread`.`network` IN ('%s', '%s')
|
||||||
$sql_extra
|
$sql_extra
|
||||||
ORDER BY `item`.`created` DESC LIMIT %d",
|
ORDER BY `item`.`created` DESC LIMIT %d",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user