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 ca50c4d4ba) There is no need for this code, because the whole function is now an observable.
This commit is contained in:
Inhishonor
2025-12-09 17:28:55 -08:00
parent f6894cc39d
commit aed1aaf590
@@ -178,7 +178,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)