Fix issue with conversation info not loading

This commit is contained in:
Moez Bhatti
2017-12-24 21:28:41 -05:00
parent 9bb19efced
commit 2b93e899f3
@@ -75,6 +75,7 @@ class ComposeViewModel(threadId: Long, body: String)
.filter { conversation -> conversation.isValid }
.take(1)
.mergeWith(selectedConversation)
.distinctUntilChanged()
.doOnNext { conversation ->
newState { it.copy(title = conversation.getTitle(), archived = conversation.archived) }
}