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: Detect deleted clients when sending a message [FS-1090] #14755

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

atomrc
Copy link
Contributor

@atomrc atomrc commented Feb 27, 2023

TaskFS-1090 [Web] Webapp doesn't learn about deleted clients.

There could be situations where we know of clients, but do not have a session with them. Which means that, when we try to encrypt for those clients, we will try to get the prekeys from them to which the backend will say that there are no prekeys. Previously we would just filter them out and ignore them. Now the core warns the webapp that those clients have been deleted and that the webapp should wipe them out from the DB

see wireapp/wire-web-packages#4914

There could be situations where we know of clients, but do not have a session with them. Which means that, when we try to encrypt for those clients, we will try to get the prekeys from them to which the backend will say that there are no prekeys.
Previously we would just filter them out and ignore them. Now the core warns the webapp that those clients have been deleted and that the webapp should wipe them out from the DB
@atomrc atomrc requested review from a team and otto-the-bot as code owners February 27, 2023 10:02
@atomrc atomrc changed the title fix: Detect deleted clients when sending a message fix: Detect deleted clients when sending a message [FS-1090] Feb 27, 2023
@atomrc atomrc enabled auto-merge (squash) February 27, 2023 10:07
@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Merging #14755 (beccc24) into dev (a71f168) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##              dev   #14755   +/-   ##
=======================================
  Coverage   42.80%   42.80%           
=======================================
  Files         621      621           
  Lines       21240    21240           
  Branches     4885     4885           
=======================================
  Hits         9092     9092           
  Misses      10987    10987           
  Partials     1161     1161           

@atomrc atomrc merged commit 12a0412 into dev Feb 27, 2023
@atomrc atomrc deleted the fix/deleted-clients branch February 27, 2023 10:08
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.

None yet

4 participants