Merge branch 'fix/chat_conference_on_the_fly' into 'release/6.2'

Fix/chat conference on the fly

See merge request BC/public/linphone-android!2480
This commit is contained in:
Sylvain Berfini 2026-04-03 13:57:35 +00:00
commit e47d5cc625

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(