Fixed 'you're the first to join this conference' snack

This commit is contained in:
Sylvain Berfini 2022-04-21 16:04:57 +02:00
parent d1d4ce558a
commit 85b0d8e6ae

View file

@ -258,14 +258,13 @@ class ConferenceViewModel : ViewModel() {
isRecording.value = conference.isRecording
updateConferenceLayout(conference)
if (conferenceParticipants.value.orEmpty().isEmpty()) {
firstToJoinEvent.value = Event(true)
}
}
fun configureConference(conference: Conference) {
updateParticipantsList(conference)
if (conferenceParticipants.value.orEmpty().isEmpty()) {
firstToJoinEvent.value = Event(true)
}
updateParticipantsDevicesList(conference)
isConferenceLocallyPaused.value = !conference.isIn