do_deactivate_stream: Remove unnecessary mutations.

Streams should not be marked as private, and subscribers
of the deactivated stream should not be removed.

Update the confirmation message when archiving a stream.
This commit is contained in:
Sanchit Sharma
2024-07-07 19:01:08 +05:30
committed by Tim Abbott
parent f04fb937a3
commit 795b2ba14e
7 changed files with 102 additions and 165 deletions

View File

@@ -1,9 +1,20 @@
<p>
{{#tr}}
Archiving channel <z-stream></z-stream> will immediately unsubscribe everyone. This action cannot be undone.
Archiving this channel <z-stream></z-stream> will:
{{#*inline "z-stream"}}<strong>{{{stream_name_with_privacy_symbol_html}}}</strong>{{/inline}}
{{/tr}}
</p>
<p>
<ul>
<li>{{#tr}}Remove it from the left sidebar for all users.{{/tr}}</li>
<li>{{#tr}}Prevent new messages from being sent to this channel.{{/tr}}</li>
<li>{{#tr}}Prevent messages in this channel from being edited, deleted, or moved.{{/tr}}</li>
</ul>
{{#tr}}
Users can still search for messages in archived channels.<br/>
This action cannot be undone.
{{/tr}}
</p>
{{#if is_announcement_stream}}
<p class="notification_stream_archive_warning">{{#tr}}Archiving this channel will also disable settings that were configured to use this channel:{{/tr}}</p>
<ul>