tom
This commit is contained in:
parent
dac6a572d9
commit
a1b60a26ad
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ import kotlinx.collections.immutable.toPersistentList
|
||||||
import kotlinx.coroutines.CoroutineScope
|
import kotlinx.coroutines.CoroutineScope
|
||||||
import kotlinx.coroutines.flow.combine
|
import kotlinx.coroutines.flow.combine
|
||||||
import kotlinx.coroutines.flow.distinctUntilChanged
|
import kotlinx.coroutines.flow.distinctUntilChanged
|
||||||
|
import kotlinx.coroutines.flow.launchIn
|
||||||
import kotlinx.coroutines.flow.onEach
|
import kotlinx.coroutines.flow.onEach
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
import timber.log.Timber
|
import timber.log.Timber
|
||||||
|
|
@ -69,6 +70,7 @@ class IdentityChangeStatePresenter @Inject constructor(
|
||||||
.onEach { roomMemberIdentityStateChanges ->
|
.onEach { roomMemberIdentityStateChanges ->
|
||||||
value = roomMemberIdentityStateChanges.toPersistentList()
|
value = roomMemberIdentityStateChanges.toPersistentList()
|
||||||
}
|
}
|
||||||
|
.launchIn(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun CoroutineScope.pinUserIdentity(userId: UserId) = launch {
|
private fun CoroutineScope.pinUserIdentity(userId: UserId) = launch {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue