diff --git a/static/js/subs.js b/static/js/subs.js index 2a35870a4d..df07c31d0f 100644 --- a/static/js/subs.js +++ b/static/js/subs.js @@ -645,6 +645,8 @@ export function setup_page(callback) { stream_edit.get_display_text_for_realm_message_retention_setting, upgrade_text_for_wide_organization_logo: page_params.upgrade_text_for_wide_organization_logo, + disable_message_retention_setting: + !page_params.zulip_plan_is_not_limited || !page_params.is_owner, }; const rendered = render_subscription_table_body(template_data);