mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
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:
@@ -1085,7 +1085,8 @@ function filter_should_hide_stream_row({
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
filters.has(views_util.FILTERS.UNMUTED_TOPICS) &&
|
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)
|
!user_topics.is_topic_unmuted_or_followed(stream_id, topic)
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user