Fix crash on loading conversation

The switchMap was causing a crash because it was trying to use conversation as an observable, even though it is not. (caused by c3df5f231f) There is no need for this code, because the whole function is now an observable.
This commit is contained in:
Inhishonor
2025-12-06 18:21:21 -08:00
parent b24e6fb099
commit d823ea3192
@@ -181,7 +181,6 @@ class ComposeViewModel @Inject constructor(
.filter { conversations -> conversations.isLoaded }
.mapNotNull { conversationRepo.getConversation(addresses) }
.doOnNext { newState { copy(loading = false) } }
.switchMap { conversation -> conversation.asObservable() }
}
// Merges two potential conversation sources (constructor threadId and contact selection)