mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 19:06:09 +00:00
stream_settings: Add live update code for can-remove-subscribers-group.
This commit adds code to live update the UI element for can_remove_subscribers_group setting.
This commit is contained in:
@@ -462,6 +462,10 @@ export function update_message_retention_setting(sub, message_retention_days) {
|
||||
sub.message_retention_days = message_retention_days;
|
||||
}
|
||||
|
||||
export function update_can_remove_subscribers_group_id(sub, can_remove_subscribers_group_id) {
|
||||
sub.can_remove_subscribers_group_id = can_remove_subscribers_group_id;
|
||||
}
|
||||
|
||||
export function receives_notifications(stream_id, notification_name) {
|
||||
const sub = sub_store.get(stream_id);
|
||||
if (sub === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user