Skip to content
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

runfix: stop counting e2ei system messages as unread [WPB-6081] #16503

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

PatrykBuniX
Copy link
Contributor

@PatrykBuniX PatrykBuniX commented Jan 10, 2024

BugWPB-6081 [Web] E2EI system message creates regular unread message notification

Description

We don't want to include e2ei verification system messages in unread messages count.

Checklist

  • PR has been self reviewed by the author;
  • Hard-to-understand areas of the code have been commented;
  • If it is a core feature, unit tests have been added;

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (d3bb38d) 45.47% compared to head (ac0c085) 45.48%.
Report is 3 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev   #16503   +/-   ##
=======================================
  Coverage   45.47%   45.48%           
=======================================
  Files         739      739           
  Lines       24177    24182    +5     
  Branches     5499     5498    -1     
=======================================
+ Hits        10995    10998    +3     
- Misses      11771    11772    +1     
- Partials     1411     1412    +1     

@@ -72,7 +71,7 @@ interface UnreadState {
pings: PingMessage[];
selfMentions: ContentMessage[];
selfReplies: ContentMessage[];
systemMessages: SystemMessage[];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

humm this is probably a mistake. The E2EIVerificationMessage should be a SystemMessage. Maybe this is the only change needed here 🤔

@PatrykBuniX PatrykBuniX merged commit 495fd60 into dev Jan 10, 2024
10 checks passed
@PatrykBuniX PatrykBuniX deleted the runfix/WPB-6081-dont-count-e2ei-sys-message branch January 10, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants