-
Notifications
You must be signed in to change notification settings - Fork 6
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 not generated when responding from notification (WPB-8756) #2994
fix: Read receipts not generated when responding from notification (WPB-8756) #2994
Conversation
…ng-from-notification
Quality Gate passedIssues Measures |
Test Results3 196 tests - 1 3 091 ✔️ - 1 3m 48s ⏱️ +39s Results for commit 34ee937. ± Comparison against base commit 933e17c. This pull request removes 2 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2994 +/- ##
===========================================
- Coverage 52.58% 52.57% -0.02%
===========================================
Files 1297 1297
Lines 49849 49841 -8
Branches 4650 4646 -4
===========================================
- Hits 26214 26203 -11
- Misses 21758 21771 +13
+ Partials 1877 1867 -10
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 3091 Passed, 105 Skipped, 13.16s Total Time |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
When we reply from head up notification, we don't mark older messages as read.
Solutions
Part of this fix is done here wireapp/wire-android#3420
I also found that we are duplicating the call of
updateConversationReadDate()
. It's being invoked when inserting a message and from conversation screen(0nScroll). So I removed the one frominsertOrIgnoreMessage
Edit:
Not really duplicating, but
updateConversationReadDate
is being called on every message sent from self user (messageInsertion), this will keep the app preventing from sending read confirmations if we reply from notification, as we get messageIds based on date(dateAfter).Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
Specify here any other facts that you think are important for this issue.
Attachments (Optional)
Attachments like images, videos, etc. (drag and drop in the text box)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.