mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
message_header: Remove the widget to change the visibility policy.
This commit removes the widget to change the visibility policy for topics in unsubscribed streams. Earlier, users were able to change the visibility policy in an unsubscribed stream, which can lead to confusion. For example, a person might think that they would get notifications about new messages in the topic of the unsubscribed stream, which of course they wouldn't.
This commit is contained in:
committed by
Tim Abbott
parent
e1d867c05e
commit
8df42a729d
@@ -209,6 +209,7 @@ function populate_group_from_message_container(group, message_container) {
|
||||
group.stream_id = sub.stream_id;
|
||||
group.stream_muted = sub.is_muted;
|
||||
}
|
||||
group.is_subscribed = stream_data.is_subscribed(group.stream_id);
|
||||
group.topic_is_resolved = resolved_topic.is_resolved(group.topic);
|
||||
group.topic_muted = user_topics.is_topic_muted(group.stream_id, group.topic);
|
||||
group.topic_unmuted = user_topics.is_topic_unmuted(group.stream_id, group.topic);
|
||||
|
||||
Reference in New Issue
Block a user