Ensure that canUserJoinCall is "live"
This commit is contained in:
parent
96bae05184
commit
6406477fef
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ class MessagesPresenter @AssistedInject constructor(
|
|||
mutableStateOf(false)
|
||||
}
|
||||
|
||||
LaunchedEffect(Unit) {
|
||||
LaunchedEffect(syncUpdateFlow) {
|
||||
withContext(dispatchers.io) {
|
||||
canJoinCall = room.canUserJoinCall(room.sessionId).getOrDefault(false)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue