forked from upstream-mirrors/quik
Don't show conversations with no messages
This commit is contained in:
@@ -18,6 +18,7 @@ class MessageRepository(val context: Context) {
|
||||
fun getConversationsAsync(): RealmResults<Conversation> {
|
||||
return Realm.getDefaultInstance()
|
||||
.where(Conversation::class.java)
|
||||
.isNotEmpty("messages")
|
||||
.findAllAsync()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user