From 9b3e2520a8eec71c7fdabd4c2be8ebf7052dd515 Mon Sep 17 00:00:00 2001 From: Boris Safonov Date: Fri, 10 Nov 2023 12:40:52 +0200 Subject: [PATCH] fix: Conversation verification changed message showing --- .../conversations/messages/ConversationMessagesViewModel.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/kotlin/com/wire/android/ui/home/conversations/messages/ConversationMessagesViewModel.kt b/app/src/main/kotlin/com/wire/android/ui/home/conversations/messages/ConversationMessagesViewModel.kt index 62213429114..82013e5f690 100644 --- a/app/src/main/kotlin/com/wire/android/ui/home/conversations/messages/ConversationMessagesViewModel.kt +++ b/app/src/main/kotlin/com/wire/android/ui/home/conversations/messages/ConversationMessagesViewModel.kt @@ -26,7 +26,6 @@ import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.viewModelScope -import androidx.paging.cachedIn import com.wire.android.R import com.wire.android.appLogger import com.wire.android.media.audiomessage.ConversationAudioMessagePlayer @@ -127,7 +126,6 @@ class ConversationMessagesViewModel @Inject constructor( val paginatedMessagesFlow = getMessageForConversation(conversationId, lastReadIndex) .flowOn(dispatchers.io()) - .cachedIn(this) conversationViewState = conversationViewState.copy( messages = paginatedMessagesFlow,