forked from upstream-mirrors/quik
#1076 - Video playback support
This commit is contained in:
@@ -222,7 +222,11 @@ class MessageRepositoryImpl @Inject constructor(
|
||||
return Realm.getDefaultInstance()
|
||||
.where(MmsPart::class.java)
|
||||
.equalTo("messages.threadId", threadId)
|
||||
.beginGroup()
|
||||
.contains("type", "image/")
|
||||
.or()
|
||||
.contains("type", "video/")
|
||||
.endGroup()
|
||||
.sort("id", Sort.DESCENDING)
|
||||
.findAllAsync()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user