channel_topics_list: Ignore stream being muted.

We display all topics unless muted in standard view regardless of
if the channel is muted.
This commit is contained in:
Aman Agrawal
2025-06-12 15:36:20 +05:30
committed by Tim Abbott
parent 365f3cdeb9
commit 4914dea7b4

View File

@@ -1085,7 +1085,8 @@ function filter_should_hide_stream_row({
if (
filters.has(views_util.FILTERS.UNMUTED_TOPICS) &&
(user_topics.is_topic_muted(stream_id, topic) || stream_data.is_muted(stream_id)) &&
(user_topics.is_topic_muted(stream_id, topic) ||
(!inbox_util.is_channel_view() && stream_data.is_muted(stream_id))) &&
!user_topics.is_topic_unmuted_or_followed(stream_id, topic)
) {
return true;