-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression with stream_has_topics().
Our logic for stream_has_topics never accounted for us creating essentially "empty" stream buckets that don't have topics, but we recently added some code related to unread counts that violated the original assumptions of the code. Now we check deeper into the stream bucket to find actual topics. This bug manifested in the left sidebar where users were seeing streams as recently active just because some muted topics had unread counts, when in fact the stream was inactive for practical purposes.
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters