Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

streams: Pass acting_user when unarchiving channel.

Tim Abbottc2b2a409257f
diff --git a/zerver/views/streams.py b/zerver/views/streams.py
index afb387e5573..aed7a319980 100644
--- a/zerver/views/streams.py
+++ b/zerver/views/streams.py
@@ -441,7 +441,7 @@ def update_stream_backend(
)
if is_archived is not None and not is_archived:
- do_unarchive_stream(stream, stream.name, acting_user=None)
+ do_unarchive_stream(stream, stream.name, acting_user=user_profile)
if (
can_delete_any_message_group is not None or can_delete_own_message_group is not None