From 8f8949cb3e2a0221de7edae7677cac633ee7743a Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 9 May 2022 14:05:03 +0200 Subject: [PATCH] Fixed first to join snack displayed multiple times + prevent first admin snack when going to participants list + show admin snack for conference.me as well --- app/src/main/assets/linphonerc_factory | 1 + .../voip/fragments/ConferenceCallFragment.kt | 20 +++++++++++-------- .../ConferenceParticipantsFragment.kt | 14 ++++++++++++- .../voip/viewmodels/ConferenceViewModel.kt | 10 +++++++++- 4 files changed, 35 insertions(+), 10 deletions(-) diff --git a/app/src/main/assets/linphonerc_factory b/app/src/main/assets/linphonerc_factory index b5c6025bc..c400cd45f 100644 --- a/app/src/main/assets/linphonerc_factory +++ b/app/src/main/assets/linphonerc_factory @@ -23,6 +23,7 @@ ec_calibrator_cool_tones=1 [video] displaytype=MSAndroidTextureDisplay auto_resize_preview_to_keep_ratio=1 +max_mosaic_size=vga [misc] enable_basic_to_client_group_chat_room_migration=0 diff --git a/app/src/main/java/org/linphone/activities/voip/fragments/ConferenceCallFragment.kt b/app/src/main/java/org/linphone/activities/voip/fragments/ConferenceCallFragment.kt index 15fbb90a1..f9c17860c 100644 --- a/app/src/main/java/org/linphone/activities/voip/fragments/ConferenceCallFragment.kt +++ b/app/src/main/java/org/linphone/activities/voip/fragments/ConferenceCallFragment.kt @@ -139,19 +139,23 @@ class ConferenceCallFragment : GenericFragment() { private val conferenceViewModel: ConferenceViewModel by navGraphViewModels(R.id.call_nav_graph) + // Only display events happening during while this fragment is visible + private var skipEvents = true + override fun getLayoutId(): Int = R.layout.voip_conference_participants_fragment override fun onViewCreated(view: View, savedInstanceState: Bundle?) { @@ -62,7 +65,9 @@ class ConferenceParticipantsFragment : GenericFragment data.participant.address.weakEqual(participant.address) } if (participantData != null) { participantAdminStatusChangedEvent.value = Event(participantData)