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:
Hypolite Petovan 2018-02-18 13:28:47 -05:00 committed by GitHub
commit 2351e14e16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2128,6 +2128,7 @@ class OStatus
AND `item`.`created` > '%s'
AND NOT `item`.`deleted`
AND NOT `item`.`private`
AND `item`.`visible`
AND `thread`.`network` IN ('%s', '%s')
$sql_extra
ORDER BY `item`.`created` DESC LIMIT %d",