Skip to content

fix(daemon): do not try to sync if logged out#2037

Merged
ellie merged 2 commits intomainfrom
ellie/logged-out-daemon
May 21, 2024
Merged

fix(daemon): do not try to sync if logged out#2037
ellie merged 2 commits intomainfrom
ellie/logged-out-daemon

Conversation

@ellie
Copy link
Member

@ellie ellie commented May 21, 2024

I've also added Settings::logged_in, as there are a few places where we switch on login state.

With this change, logging out/in with the daemon running is ok! Previously, sync would stop working. It would either always be logged out, or keep trying to make requests but get a 403.

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

ellie added 2 commits May 21, 2024 10:21
I've also added Settings::logged_in, as there are a few places where we
switch on login state.
@ellie ellie merged commit 8dc8448 into main May 21, 2024
@ellie ellie deleted the ellie/logged-out-daemon branch May 21, 2024 03:43
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.

1 participant