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

protonmail (beta 2): unread counter is broken since messages in local cache don't go into the unread state #53

Closed
vladimiry opened this issue Oct 19, 2018 · 1 comment

Comments

@vladimiry
Copy link
Owner

vladimiry commented Oct 19, 2018

It's because Protonmail API has just stopped serving message.IsRead property which app reads setting the unread state of the message. The fix would be in reading the message.Unread property instead.

@vladimiry vladimiry changed the title protonmail: unread counter is broken since messages in local cache don't go into the unread state protonmail (beta 2): unread counter is broken since messages in local cache don't go into the unread state Oct 19, 2018
@vladimiry
Copy link
Owner Author

Solved with v2.0.0-beta.3 release.

message.IsRead existed for years, but Protonmail decided to drop it right after beta 2 got published, what a coincidence.

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