Fixed meeting participants list not showing all of them

This commit is contained in:
Sylvain Berfini 2024-05-27 10:54:40 +02:00
parent 481e8db0aa
commit a424f05ab9
3 changed files with 9 additions and 6 deletions

View file

@ -265,7 +265,7 @@ class MeetingViewModel @UiThread constructor() : GenericViewModel() {
for (info in conferenceInfo.participantInfos) {
val participant = info.address
val isOrganizer = organizer?.weakEqual(participant) ?: false
Log.i(
Log.d(
"$TAG Conference [${conferenceInfo.subject}] ${if (isOrganizer) "organizer" else "participant"} [${participant.asStringUriOnly()}] is a [${info.role}]"
)
if (isOrganizer) {
@ -279,6 +279,9 @@ class MeetingViewModel @UiThread constructor() : GenericViewModel() {
speakersList.add(ParticipantModel(participant, isOrganizer))
}
}
Log.i(
"$TAG Found [${speakersList.size}] participants for conference [${conferenceInfo.uri?.asStringUriOnly()}]"
)
if (allSpeaker) {
Log.i("$TAG All participants have Speaker role, considering it is a meeting")

View file

@ -68,10 +68,8 @@
android:fillViewport="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/invisible_title"
app:layout_constraintVertical_bias="0.0">
app:layout_constraintTop_toBottomOf="@id/invisible_title">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"

View file

@ -91,7 +91,7 @@
app:layout_constraintBottom_toBottomOf="@id/title"
app:layout_constraintTop_toTopOf="@id/title" />
<ScrollView
<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="0dp"
android:layout_height="0dp"
@ -318,13 +318,15 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:nestedScrollingEnabled="true"
app:layout_constrainedHeight="true"
app:layout_constraintTop_toBottomOf="@id/separator_4"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/participants_icon"
app:layout_constraintEnd_toEndOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
</androidx.core.widget.NestedScrollView>
<View
android:id="@+id/separator_5"