File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,15 +155,15 @@ class MessagesPresenter @AssistedInject constructor(
155155 mutableStateOf(false )
156156 }
157157
158- LaunchedEffect (syncUpdateFlow) {
158+ LaunchedEffect (syncUpdateFlow.value ) {
159159 withContext(dispatchers.io) {
160160 canJoinCall = room.canUserJoinCall(room.sessionId).getOrDefault(false )
161161 }
162162 }
163163
164164 val inviteProgress = remember { mutableStateOf<AsyncData <Unit >>(AsyncData .Uninitialized ) }
165165 var showReinvitePrompt by remember { mutableStateOf(false ) }
166- LaunchedEffect (hasDismissedInviteDialog, composerState.hasFocus, syncUpdateFlow) {
166+ LaunchedEffect (hasDismissedInviteDialog, composerState.hasFocus, syncUpdateFlow.value ) {
167167 withContext(dispatchers.io) {
168168 showReinvitePrompt = ! hasDismissedInviteDialog && composerState.hasFocus && room.isDirect && room.activeMemberCount == 1L
169169 }
You can’t perform that action at this time.
0 commit comments