mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Ensure that canUserJoinCall is "live"
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ class MessagesPresenter @AssistedInject constructor(
|
|||||||
mutableStateOf(false)
|
mutableStateOf(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
LaunchedEffect(Unit) {
|
LaunchedEffect(syncUpdateFlow) {
|
||||||
withContext(dispatchers.io) {
|
withContext(dispatchers.io) {
|
||||||
canJoinCall = room.canUserJoinCall(room.sessionId).getOrDefault(false)
|
canJoinCall = room.canUserJoinCall(room.sessionId).getOrDefault(false)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user