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

Delayed unread value displaying and reactive sync triggering #333

Closed
vladimiry opened this issue Oct 1, 2020 · 1 comment
Closed

Delayed unread value displaying and reactive sync triggering #333

vladimiry opened this issue Oct 1, 2020 · 1 comment

Comments

@vladimiry
Copy link
Owner

vladimiry commented Oct 1, 2020

  • Delayed unread value displaying might happen if the local store option is not enabled.
  • Reactive sync triggering delaying might happen if the local store option is enabled. Not a critical issue, like data missing / etc, since we have a fallback sync triggering scenario (which is not reactive though).

The reason is that @ProtonMail changed some API URLs at some point and I noticed that just recently and so the app doesn't get notified for messages/count / api/events API calls anymore which somehow breaks the reactivity capabilities.

Here is the change mapping (currently used by the app => needed to be used):

  • ${entryApiUrl}/api/messages/count => ${entryApiUrl}/api/mail/v4/messages/count
  • ${entryApiUrl}/api/events/.*== => ${entryApiUrl}/api/v4/events/.*==

Planned to be resolved as a part of #332.

@vladimiry
Copy link
Owner Author

I did overthink things. URLs listening change will need to happen in #332 since it's not https://github.com/ProtonMail/WebClient changed the URLs but https://github.com/ProtonMail/proton-mail which is not yet adopted by ElectronMail.

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

No branches or pull requests

1 participant