Use Recipient instead of Chip

This commit is contained in:
Moez Bhatti
2020-01-12 02:02:39 -05:00
parent 7d9cd35c7c
commit abd198db81
11 changed files with 55 additions and 71 deletions
@@ -220,6 +220,12 @@ class ConversationRepositoryImpl @Inject constructor(
.observeOn(Schedulers.io())
}
override fun getRecipients(): RealmResults<Recipient> {
val realm = Realm.getDefaultInstance()
return realm.where(Recipient::class.java)
.findAll()
}
override fun getUnmanagedRecipients(): Observable<List<Recipient>> {
val realm = Realm.getDefaultInstance()
return realm.where(Recipient::class.java)