-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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: stop calling useNotifyUser multiple times #34174
Conversation
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 8169270 The changes in this PR will be included in the next version bump. This PR includes changesets to release 35 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 |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #34174 +/- ##
========================================
Coverage 75.79% 75.79%
========================================
Files 511 511
Lines 22132 22132
Branches 5394 5394
========================================
Hits 16775 16775
Misses 4709 4709
Partials 648 648
Flags with carried forward coverage won't be shown. Click here to find out more. |
/patch |
Co-authored-by: Tasso <tasso.evangelista@rocket.chat> Co-authored-by: Guilherme Gazzo <guilhermegazzo@gmail.com>
Pull request #34219 added to Project: "Patch 7.1.1" |
Proposed changes (including videos or screenshots)
Every time the client loses connection causing the websocket to reconnect and log in again, it was causing the registering multiple callbacks for new notifications.. after a few reconnections there was a lot of callbacks being called and that was causing
KonchatNotification.showDesktop
to also be called multiple times, causing probably notifications to being show.Issue(s)
introduced by #33981
CORE-859
Steps to test or reproduce
Further comments