mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 02:37:46 +00:00
Don't show images without data under "all images"
This affects images - that have yet to be downloaded (using media download controls) - that are currently being downloaded - that failed to download closes #4507
This commit is contained in:
parent
61386e9ca9
commit
06f2908d78
@ -26,7 +26,8 @@ public class ImageDatabase extends Database {
|
||||
+ "WHERE " + AttachmentDatabase.MMS_ID + " IN (SELECT " + MmsSmsColumns.ID
|
||||
+ " FROM " + MmsDatabase.TABLE_NAME
|
||||
+ " WHERE " + MmsDatabase.THREAD_ID + " = ?) AND "
|
||||
+ AttachmentDatabase.CONTENT_TYPE + " LIKE 'image/%' "
|
||||
+ AttachmentDatabase.CONTENT_TYPE + " LIKE 'image/%' AND "
|
||||
+ AttachmentDatabase.DATA + " IS NOT NULL "
|
||||
+ "ORDER BY " + AttachmentDatabase.TABLE_NAME + "." + AttachmentDatabase.ROW_ID + " DESC";
|
||||
|
||||
public ImageDatabase(Context context, SQLiteOpenHelper databaseHelper) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user