-
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: Read receipts are not created on the first time a user reads a room #30610
Conversation
🦋 Changeset detectedLatest commit: 9f0852a The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 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 Report
@@ Coverage Diff @@
## develop #30610 +/- ##
===========================================
- Coverage 51.29% 51.01% -0.29%
===========================================
Files 811 805 -6
Lines 15062 15077 +15
Branches 2753 2787 +34
===========================================
- Hits 7726 7691 -35
- Misses 6928 6954 +26
- Partials 408 432 +24
Flags with carried forward coverage won't be shown. Click here to find out more. |
…com/RocketChat/Rocket.Chat into fix/receipts-not-created-first-read
dde591c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA noticed that when creating a room already with a member, the first messages would still not be marked as read when reading the room with the invited user (that's because we update their subscription by the time the first message is sent, which makes _updatedAt
timestamp bigger than the message's ts
). That's now fixed by using the subscription's ts
instead
Thanks @jessicaschelly
…chat.postMessage * 'develop' of github.com:RocketChat/Rocket.Chat: fix: inconsistent behavior when removing subscriptions and inquiries (#30572) fix: Handle AWS S3 Re-Authentication via s3.getSignedUrlPromise (#30642) test: wait for the name update finish (#30663) regression: Restore default limits to community apps (#30611) refactor: Move functions out of `Livechat.js` (#30650) chore: remove license v3 public key envvar (#30646) fix: Read receipts are not created on the first time a user reads a room (#30610) fix: licenses.info endpoint only available for admins (#30644)
…oom (#30610) Co-authored-by: Heitor Tanoue <[email protected]>
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
TC-986