mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Failing for broken images.
This commit is contained in:
parent
1fe5ad9918
commit
63b984a2d5
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@
|
|||
[appDelegate.database inDatabase:^(FMDatabase *db) {
|
||||
NSString *commonQuery = @"FROM cached_images c "
|
||||
"INNER JOIN unread_hashes u ON (c.story_hash = u.story_hash) "
|
||||
"WHERE c.image_cached is null ";
|
||||
"WHERE c.image_cached is null and c.failed != 1 ";
|
||||
int count = [db intForQuery:[NSString stringWithFormat:@"SELECT COUNT(1) %@", commonQuery]];
|
||||
if (appDelegate.totalUncachedImagesCount == 0) {
|
||||
appDelegate.totalUncachedImagesCount = count;
|
||||
|
|
Loading…
Add table
Reference in a new issue