Skip to content

fix: read confirmation on reply from notification (WPB-8756)#4658

Merged
sbakhtiarov merged 4 commits intodevelopfrom
fix/reply-read-receipt
Apr 8, 2026
Merged

fix: read confirmation on reply from notification (WPB-8756)#4658
sbakhtiarov merged 4 commits intodevelopfrom
fix/reply-read-receipt

Conversation

@sbakhtiarov
Copy link
Copy Markdown
Contributor

@sbakhtiarov sbakhtiarov commented Mar 17, 2026

https://wearezeta.atlassian.net/browse/WPB-8756

https://wearezeta.atlassian.net/browse/WPB-8756

What's new in this PR?

Issues

User sends answer from notification. Answer is sent but conversation messages stay in "unread" state which causing confusion on the receiver side.

Causes (Optional)

NotificationReplyReceiver is already trying to update conversation last read date and send read receipts but it is done with the 3 seconds debounce (to reduce number of updates from messages list UI).

Solutions

Adding a new invokeImmediately parameter which runs the read confirmations without delay and use it when replying from notification.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.78%. Comparing base (57ae24f) to head (17b82e3).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
...on/broadcastreceivers/NotificationReplyReceiver.kt 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4658      +/-   ##
===========================================
- Coverage    49.79%   49.78%   -0.01%     
===========================================
  Files          600      600              
  Lines        20580    20581       +1     
  Branches      3282     3282              
===========================================
  Hits         10247    10247              
- Misses        9364     9365       +1     
  Partials       969      969              
Files with missing lines Coverage Δ
...on/broadcastreceivers/NotificationReplyReceiver.kt 0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57ae24f...17b82e3. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@sbakhtiarov sbakhtiarov added this pull request to the merge queue Apr 8, 2026
Merged via the queue into develop with commit 7876041 Apr 8, 2026
19 checks passed
@sbakhtiarov sbakhtiarov deleted the fix/reply-read-receipt branch April 8, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants