Skip to content

bugfix: helper: Avoid updating unread count for unsubscribed streams. #706

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

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

neiljp
Copy link
Collaborator

@neiljp neiljp commented Jul 2, 2020

Unread count data from the server may include that for unsubscribed streams, which currently are not indexed.

Fixes #694.

@zulipbot zulipbot added size: XS [Automatic label added by zulipbot] bug Something isn't working high priority should be done as soon as possible labels Jul 2, 2020
Unread count data from the server may include that for unsubscribed
streams, which currently are not stored in Model.stream_dict.

In the webapp (zulip/zulip repo), stream data includes unsubscribed and
'never_subscribed' streams (see populate_subscriptions in
stream_data.js), so this issue does not arise.

This has been an increased or particular issue recently due to addition
of support for moving messages between streams.

Fixes zulip#694.
@neiljp neiljp force-pushed the 2020-07-bugfix-694 branch from 911b76a to 3015e31 Compare July 2, 2020 23:58
@neiljp neiljp marked this pull request as ready for review July 2, 2020 23:59
@neiljp neiljp merged commit 8ebda8e into zulip:master Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority should be done as soon as possible size: XS [Automatic label added by zulipbot]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

key error in helper.py on start
2 participants