mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Accidental change
This commit is contained in:
parent
1377e192a1
commit
580bf9ebb3
@ -96,6 +96,11 @@ class ConversationViewModel(
|
||||
init {
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
repository.recipientUpdateFlow(threadId)
|
||||
.collect { recipient ->
|
||||
if (recipient == null && _uiState.value.conversationExists) {
|
||||
_uiState.update { it.copy(conversationExists = false) }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user