Skip to content

[stable-24.0] fix: HPB partial updates no longer drop the call when a participant joins#6243

Merged
mahibi merged 1 commit into
stable-24.0from
backport/6087/stable-24.0
May 29, 2026
Merged

[stable-24.0] fix: HPB partial updates no longer drop the call when a participant joins#6243
mahibi merged 1 commit into
stable-24.0from
backport/6087/stable-24.0

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 29, 2026

Backport of PR #6087

…oins

With external signaling (HPB), onParticipantsUpdate delivers partial updates
containing only changed participants. The previous code treated both full lists
(onUsersInRoom) and partial updates (onParticipantsUpdate) identically: any
participant absent from the list was moved to the "left" collection.

When a new participant joined via HPB, the local user was not included in the
partial update. This caused the local participant to appear in "left", which
made CallActivity think a moderator had ended the call for everyone and trigger
hangup().

Fix: processParticipantList now takes a boolean fullList parameter.
- onUsersInRoom passes fullList=true: absent participants have left (unchanged)
- onParticipantsUpdate passes fullList=false: absent participants are still in
  the call and are moved to "unchanged" instead of "left"

Fixes #5452

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Alain Lauzon <alauzon@alainlauzon.com>
@backportbot backportbot Bot added 3. to review Waiting for reviews feedback-requested labels May 29, 2026
@backportbot backportbot Bot added this to the 24.0.0 milestone May 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/26620406577/artifacts/7284025028
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@mahibi mahibi merged commit 2a347ea into stable-24.0 May 29, 2026
14 of 15 checks passed
@mahibi mahibi deleted the backport/6087/stable-24.0 branch May 29, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants