Skip to content

[STREAM-1099] - Emit participantsUpdate for JWT Video Guests#969

Merged
patrickfeeney03 merged 14 commits intodevelopfrom
stream-1099
Feb 9, 2026
Merged

[STREAM-1099] - Emit participantsUpdate for JWT Video Guests#969
patrickfeeney03 merged 14 commits intodevelopfrom
stream-1099

Conversation

@patrickfeeney03
Copy link
Copy Markdown
Collaborator

@patrickfeeney03 patrickfeeney03 commented Jan 14, 2026

MERGE CHECKLIST

  • Tests have been updated, added, or removed and the testing matrix has passed.
  • Documentation has been updated or added.
  • Changelog has been updated with ticket or issue number, link to the ticket, and a description of the changes.
  • Branch has been built in the BitBucket wrapper repository.
  • Pull request title is formatted as [STREAM-<ticket number>] - <description of changes> or [<issue number>] - <description of changes>.

@patrickfeeney03 patrickfeeney03 changed the title STREAM-1099: Emit participantsUpdate for Video Guests [STREAM-1099] - Emit participantsUpdate for Video Guests Jan 14, 2026
@patrickfeeney03 patrickfeeney03 changed the title [STREAM-1099] - Emit participantsUpdate for Video Guests [STREAM-1099] - Emit participantsUpdate for JWT Video Guests Jan 14, 2026
Comment thread test/unit/client-private.test.ts
Comment thread src/client-private.ts Outdated
Comment thread src/client-private.ts Outdated
if (this._personDetails) {
if (this.isJwtAuth) {
const id = this._customerData.conversation?.id;
const userId = this._personDetails.id;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be overthinking it, but it might be safer to have something like:
const isGuest = !this._personDetails?.id;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, is there ever a case where we'll have a userId with a JWT? Does that happen when using GCBA? I'm not sure off the top of my head.

Copy link
Copy Markdown
Collaborator Author

@patrickfeeney03 patrickfeeney03 Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, is there ever a case where we'll have a userId with a JWT? Does that happen when using GCBA? I'm not sure off the top of my head.

I believe that GCBA participants do have a userId. I don't think the new code would affect that scenario though, since no subscription for JWT auth was being performed here before, and now it is but we make sure its an agent conference and that the participant is a guest.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that makes sense since they aren't technically totally guest users.

Copy link
Copy Markdown
Collaborator

@zservies zservies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

Copy link
Copy Markdown
Collaborator

@hjon hjon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to update the changelog. 🙂

# Conflicts:
#	changelog.md
#	package-lock.json
Make new code in `proxyStreamingClientEvents` safer and use existing helper functions.
@patrickfeeney03 patrickfeeney03 merged commit 7adb286 into develop Feb 9, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants