-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: OTR session closing after 10 seconds without warning #29245
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #29245 +/- ##
===========================================
+ Coverage 45.76% 45.89% +0.13%
===========================================
Files 685 685
Lines 12984 12988 +4
Branches 2208 2209 +1
===========================================
+ Hits 5942 5961 +19
+ Misses 6732 6719 -13
+ Partials 310 308 -2
Flags with carried forward coverage won't be shown. Click here to find out more. |
🦋 Changeset detectedLatest commit: 59414c0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 24 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…e/system-messages-update * 'develop' of github.com:RocketChat/Rocket.Chat: (26 commits) fix: Importer crashes when sending the "active status" e-mail notification to users (#29401) docs: new README file (#27955) refactor: replace with new `Select` (#29368) fix: Sidebar's sort by name not being checked properly (#29415) fix: Login Terms custom content (#28999) fix: Broken link fixed inside webhook menu (#29048) fix: Apps settings i18n translation (#29394) fix: OTR session closing after 10 seconds without warning (#29245) fix: Register Username form showing before homepage (#29356) regression(ui-client): Toolbox action button badge in the wrong position (#29412) fix: marketplace filters are changing size (#28738) chore: Update highlighted word color (#29407) i18n: Language update from LingoHub 🤖 on 2023-05-22Z (#29317) chore(ddp-sdk): ts-jest -> swc/jest (#29380) chore: `ToolboxAction` pressed state (#29397) chore: add logs to recurring omnichannel cron jobs (#29392) regression: `t` using always sprintf (#29396) fix: fix wrong %s translations (#29395) regression(push): fix error when selecting what to import (#29289) chore: Change ddpsdk.stream to return subscription (#29375) ...
Proposed changes (including videos or screenshots)
The
Notifications
streamer is sending two events when there's a license applied to the workspace and it's not using Microservices. I'm avoiding this by simply ignoring the second event in OTRRoom.There is still an issue where there's 2 system messages being fired after accepting, but that's not a really big concern since it doesn't break anything.
Issue(s)
SUP-224
Steps to test or reproduce
Apply a license to the workspace
Start an OTR session with another user.
The other user will receive a notification (modal) asking to accept the session. Counting from the time the modal shows up, even if accepted, 10 seconds later the OTR session will timeout.
Further comments