Do not display story media in settings media rail.
This commit is contained in:
parent
bb323dc575
commit
f687840891
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ public class MediaDatabase extends Database {
|
|||
+ " FROM " + MmsDatabase.TABLE_NAME
|
||||
+ " WHERE " + MmsDatabase.THREAD_ID + " __EQUALITY__ ?) AND (%s) AND "
|
||||
+ MmsDatabase.VIEW_ONCE + " = 0 AND "
|
||||
+ MmsDatabase.STORY_TYPE + " = 0 AND "
|
||||
+ AttachmentDatabase.DATA + " IS NOT NULL AND "
|
||||
+ "(" + AttachmentDatabase.QUOTE + " = 0 OR (" + AttachmentDatabase.QUOTE + " = 1 AND " + AttachmentDatabase.DATA_HASH + " IS NULL)) AND "
|
||||
+ AttachmentDatabase.STICKER_PACK_ID + " IS NULL AND "
|
||||
|
|
Loading…
Add table
Reference in a new issue