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