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: validate account_data values instead of checking them in syncUpdates #1584

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

techno-disaster
Copy link
Contributor

@techno-disaster techno-disaster commented Oct 17, 2023

Fixes: https://github.com/famedly/product-management/issues/1401

fixes race where sometimes you miss the secrets in sync

edit from product: this also closes #1584

@techno-disaster techno-disaster marked this pull request as draft October 20, 2023 09:32
@techno-disaster techno-disaster marked this pull request as ready for review October 30, 2023 09:45
krille-chan
krille-chan previously approved these changes Nov 7, 2023
@techno-disaster techno-disaster marked this pull request as draft November 8, 2023 14:12
@techno-disaster techno-disaster marked this pull request as ready for review November 8, 2023 14:31
lib/encryption/utils/bootstrap.dart Outdated Show resolved Hide resolved
lib/encryption/utils/bootstrap.dart Outdated Show resolved Hide resolved
@td-famedly td-famedly self-assigned this Nov 28, 2023
@td-famedly td-famedly force-pushed the td/fixAwaitSecrets branch 2 times, most recently from cf5d694 to 3a06b38 Compare December 18, 2023 18:01
@td-famedly td-famedly changed the title fix: check if secrets are cached instead of checking sync fix: validate account_data values instead of checking them in syncUpdates Dec 18, 2023
@td-famedly td-famedly force-pushed the td/fixAwaitSecrets branch 2 times, most recently from bb781c3 to 598d06d Compare December 18, 2023 18:34
lib/src/client.dart Outdated Show resolved Hide resolved
@td-famedly td-famedly force-pushed the td/fixAwaitSecrets branch 3 times, most recently from 49fc328 to 8a64a7a Compare December 20, 2023 15:07
@td-famedly
Copy link
Member

brb something broke :p

@td-famedly td-famedly marked this pull request as draft December 20, 2023 15:21
@td-famedly td-famedly marked this pull request as ready for review December 20, 2023 15:40
@td-famedly td-famedly merged commit 067a61e into main Dec 20, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants