Fixed conversation not available in conference/group call when invited to join in

This commit is contained in:
Sylvain Berfini 2026-04-03 15:34:26 +02:00
parent 498d903548
commit 039500c7a2

View file

@ -292,6 +292,10 @@ class ConferenceViewModel
Log.i("$TAG Joined conference already has at least another participant") Log.i("$TAG Joined conference already has at least another participant")
firstParticipantOtherThanOurselvesJoinedEvent.postValue(Event(true)) firstParticipantOtherThanOurselvesJoinedEvent.postValue(Event(true))
} }
val chatEnabled = conference.currentParams.isChatEnabled
isConversationAvailable.postValue(chatEnabled)
Log.i("$TAG Chat is ${if (chatEnabled) "enabled" else "disabled"}")
} }
} }
} }
@ -344,6 +348,7 @@ class ConferenceViewModel
val chatEnabled = conference.currentParams.isChatEnabled val chatEnabled = conference.currentParams.isChatEnabled
isConversationAvailable.postValue(chatEnabled) isConversationAvailable.postValue(chatEnabled)
Log.i("$TAG Chat is ${if (chatEnabled) "enabled" else "disabled"}")
val confSubject = conference.subjectUtf8.orEmpty() val confSubject = conference.subjectUtf8.orEmpty()
Log.i( Log.i(