Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
borichellow committed Oct 4, 2023
1 parent cbea488 commit c37e3e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class ConversationListViewModel @Inject constructor(
}
viewModelScope.launch {
searchQueryFlow.combine(
observeConversationListDetails(includeArchived = false)
observeConversationListDetails(fromArchive = false)
.map {
it.map { conversationDetails ->
conversationDetails.toConversationItem(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class ImportMediaAuthenticatedViewModel @Inject constructor(
@OptIn(ExperimentalCoroutinesApi::class)
private suspend fun observeConversationWithSearch() = viewModelScope.launch {
searchQueryFlow.mapLatest { searchQuery ->
val conversations = observeConversationListDetails(includeArchived = false).first()
val conversations = observeConversationListDetails(fromArchive = false).first()
.mapNotNull { conversationDetails ->
conversationDetails.toConversationItem(
wireSessionImageLoader,
Expand Down

0 comments on commit c37e3e7

Please sign in to comment.