#1112 - Mark conversations read/unread

This commit is contained in:
Moez Bhatti
2018-06-12 13:42:23 -04:00
parent c41d40cbd6
commit 5ede84acf5
15 changed files with 175 additions and 23 deletions
@@ -113,7 +113,7 @@ class QkReplyViewModel @Inject constructor(
.map { conversation -> conversation.id }
.autoDisposable(view.scope())
.subscribe { threadId ->
markRead.execute(threadId) { newState { copy(hasError = true) } }
markRead.execute(listOf(threadId)) { newState { copy(hasError = true) } }
}
// Call
@@ -216,7 +216,7 @@ class QkReplyViewModel @Inject constructor(
threadId
})
.doOnNext { threadId ->
markRead.execute(threadId) {
markRead.execute(listOf(threadId)) {
newState { copy(hasError = true) }
}
}