left_sidebar: Don't fade inactive channels (unless muted).

Part of #35552.
This commit is contained in:
Evy Kassirer
2025-07-31 12:16:53 -07:00
committed by Tim Abbott
parent ef5796a05b
commit 3ced9a1ad3
2 changed files with 4 additions and 2 deletions

View File

@@ -531,6 +531,9 @@ class StreamSidebarRow {
this.update_unread_count();
}
// The `inactive_stream` class is useful for identifying these
// channels to node tests, even if the design doesn't currently
// style these channels differently.
update_whether_active(): void {
if (stream_list_sort.has_recent_activity(this.sub)) {
this.$list_item.removeClass("inactive_stream");