composebox: Warn when linked to private streams.

Fix issue #6860
This commit is contained in:
Rhea Parekh
2017-10-14 18:48:21 +05:30
committed by showell
parent be56a99734
commit 1d826ae201
7 changed files with 122 additions and 4 deletions

View File

@@ -92,6 +92,7 @@ function clear_box() {
// TODO: Better encapsulate at-mention warnings.
compose.clear_all_everyone_warnings();
compose.clear_private_stream_alert();
compose.reset_user_acknowledged_all_everyone_flag();
exports.clear_textarea();