From 4db6c51fb1381c4e81672d7f53935637426e2512 Mon Sep 17 00:00:00 2001 From: Purushottam Tiwari Date: Sun, 18 Sep 2022 12:18:25 +0530 Subject: [PATCH] stream_edit: Fix warning in confirm dialog modal from sub-unsub modal. --- static/js/stream_settings_ui.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/stream_settings_ui.js b/static/js/stream_settings_ui.js index 1afb688f04..b014e093f6 100644 --- a/static/js/stream_settings_ui.js +++ b/static/js/stream_settings_ui.js @@ -970,7 +970,11 @@ export function open_create_stream() { } export function unsubscribe_from_private_stream(sub) { - const html_body = render_unsubscribe_private_stream_modal(); + const html_body = render_unsubscribe_private_stream_modal({ + message: $t({ + defaultMessage: "Once you leave this stream, you will not be able to rejoin.", + }), + }); function unsubscribe_from_stream() { let $stream_row;