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
1 changed files with 1 additions and 0 deletions

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",