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

fix(crypto): Don't warn about verified users when subscribing to identity updates #4134

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andybalaam
Copy link
Contributor

@andybalaam andybalaam commented Oct 16, 2024

When you enter a room, your UI will subscribe to the identity change updates. The first update it receives gives the "current state" of the room members.

Before this change, that first update would include verified users.

After this change, it only includes users you need to warn about: unpinned users and those in verification violation.

This supplies only the information the UI needs to warn the user.

Fixes #4104

@andybalaam andybalaam force-pushed the andybalaam/extract-simulate_key_query_response_for_verification branch from 6ad623f to a9d4ac2 Compare October 18, 2024 09:13
@andybalaam andybalaam force-pushed the andybalaam/dont-emit-verified-identities-at-start-of-stream branch from 10d47f7 to 0c7ef62 Compare October 18, 2024 09:38
@andybalaam andybalaam marked this pull request as ready for review October 18, 2024 09:41
@andybalaam andybalaam requested a review from a team as a code owner October 18, 2024 09:41
@andybalaam andybalaam requested review from poljar and removed request for a team October 18, 2024 09:41
@andybalaam andybalaam force-pushed the andybalaam/dont-emit-verified-identities-at-start-of-stream branch from 0c7ef62 to 1d57b6f Compare October 18, 2024 10:02
@andybalaam andybalaam requested a review from a team as a code owner October 18, 2024 10:02
@andybalaam andybalaam requested review from BillCarsonFr and removed request for a team October 18, 2024 10:02
@andybalaam andybalaam force-pushed the andybalaam/extract-simulate_key_query_response_for_verification branch from a9d4ac2 to 67d147b Compare October 18, 2024 10:05
@andybalaam andybalaam force-pushed the andybalaam/dont-emit-verified-identities-at-start-of-stream branch from 1d57b6f to 24290b1 Compare October 18, 2024 10:06
Base automatically changed from andybalaam/extract-simulate_key_query_response_for_verification to main October 18, 2024 10:37
@andybalaam andybalaam force-pushed the andybalaam/dont-emit-verified-identities-at-start-of-stream branch from 24290b1 to f0fb72e Compare October 18, 2024 11:25
@andybalaam
Copy link
Contributor Author

Sorry for force-pushing - github wasn't triggering the checks.

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.85%. Comparing base (ad677cb) to head (f0fb72e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4134      +/-   ##
==========================================
+ Coverage   84.83%   84.85%   +0.01%     
==========================================
  Files         269      269              
  Lines       28798    28802       +4     
==========================================
+ Hits        24430    24439       +9     
+ Misses       4368     4363       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant