Fixed 'you're the first to join this conference' snack
This commit is contained in:
parent
d1d4ce558a
commit
85b0d8e6ae
1 changed files with 3 additions and 4 deletions
|
@ -258,14 +258,13 @@ class ConferenceViewModel : ViewModel() {
|
||||||
isRecording.value = conference.isRecording
|
isRecording.value = conference.isRecording
|
||||||
|
|
||||||
updateConferenceLayout(conference)
|
updateConferenceLayout(conference)
|
||||||
|
|
||||||
if (conferenceParticipants.value.orEmpty().isEmpty()) {
|
|
||||||
firstToJoinEvent.value = Event(true)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun configureConference(conference: Conference) {
|
fun configureConference(conference: Conference) {
|
||||||
updateParticipantsList(conference)
|
updateParticipantsList(conference)
|
||||||
|
if (conferenceParticipants.value.orEmpty().isEmpty()) {
|
||||||
|
firstToJoinEvent.value = Event(true)
|
||||||
|
}
|
||||||
updateParticipantsDevicesList(conference)
|
updateParticipantsDevicesList(conference)
|
||||||
|
|
||||||
isConferenceLocallyPaused.value = !conference.isIn
|
isConferenceLocallyPaused.value = !conference.isIn
|
||||||
|
|
Loading…
Reference in a new issue