Skip to content

[PB-6385] Keep userID from joinCall in sessionStorage#236

Open
TamaraFinogina wants to merge 19 commits into
mainfrom
kickout_works
Open

[PB-6385] Keep userID from joinCall in sessionStorage#236
TamaraFinogina wants to merge 19 commits into
mainfrom
kickout_works

Conversation

@TamaraFinogina
Copy link
Copy Markdown

@TamaraFinogina TamaraFinogina commented May 19, 2026

Description

This PR is the first half of the kick-out fix. It stores the ID returned by joinCall and uses it for leaving the call.

Also:

Related Pull Requests

Meet-server changes (second half)

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

How Has This Been Tested?

QA in local

Additional Notes

Untill meet-server changes are merged, the kick out will only work every other time (1st, 3rd, 5th, etc). This is because each kick out cleans both users from the database (original and copy) - original because of the Jitsi Hook and copy because of leaveCall original user sent (with the same UserID that copy has)

@TamaraFinogina TamaraFinogina self-assigned this May 19, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 19, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
meet-web d28c0b0 Commit Preview URL

Branch Preview URL
May 26 2026, 07:48 AM

Base automatically changed from bring_updates to main May 20, 2026 09:05
@TamaraFinogina TamaraFinogina requested a review from CandelR May 20, 2026 11:01
@TamaraFinogina TamaraFinogina marked this pull request as ready for review May 20, 2026 12:19
@TamaraFinogina TamaraFinogina requested a review from xabg2 May 20, 2026 15:01
@TamaraFinogina TamaraFinogina mentioned this pull request May 22, 2026
7 tasks
payload = { userId: SessionStorageManager.instance.getAnonymousUUID() || '' };
const userId = SessionStorageManager.instance.getUserID();
if (userId) {
return await MeetingService.instance.leaveCall(roomId, { userId });
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

If this causes an error, does the web crash?

Copy link
Copy Markdown
Author

@TamaraFinogina TamaraFinogina May 26, 2026

Choose a reason for hiding this comment

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

No, but the server gets to do checks and log errors. If the user reloads before joining the call, leaveCall is dispatched, but it has no user ID, so technically no need for the call

[PB-6385] Fix reactDom is depricated error
@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Deploying meet-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: d28c0b0
Status:  ✅  Deploy successful!
Preview URL: https://81b53be9.meet-web.pages.dev
Updated (Europe/Madrid): 26/5/2026, 9:46:58

View logs

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.

3 participants