Issue 4228: Don't post an item if it belongs to a picture upload without an post
This commit is contained in:
parent
a9a85849f4
commit
d0fa80b195
|
@ -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 a new issue