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 e094456ac72..02a1e5894fe 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 @@ -146,7 +145,6 @@ class ConversationMessagesViewModel @Inject constructor( val paginatedMessagesFlow = getMessageForConversation(conversationId, lastReadIndex) .flowOn(dispatchers.io()) - .cachedIn(this) conversationViewState = conversationViewState.copy( messages = paginatedMessagesFlow,