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(sync): send an empty sync object for sign-in flows #2817

Merged
merged 2 commits into from Oct 11, 2019

Conversation

vladikoff
Copy link
Contributor

} else if (this.relier.get('service') === 'sync') {
// if service is already forced to be Sync, then for sign-in
// attempts we tell Desktop to just enable sync
loginData.services.sync = {};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will make sure desktop enables Sync after a sign in

Copy link
Contributor

Choose a reason for hiding this comment

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

Tested this locally with Nightly and it doesn't seem to enable sync after reconnecting?

Screen Shot 2019-10-09 at 8 32 02 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah requires a desktop patch, cc @mhammond

@mhammond
Copy link
Member

See bug 1587691

Copy link
Contributor

@vbudhram vbudhram left a comment

Choose a reason for hiding this comment

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

@vladikoff I wasn't able to test this against the linked desktop patch, but did look at the code and it LGTM 👍

@vladikoff vladikoff merged commit deec25c into train-147 Oct 11, 2019
@vladikoff vladikoff deleted the train-147-service-sync branch October 11, 2019 15:37
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.

None yet

3 participants