Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
streams: Remove redundant asserts in do_change_stream_permission.
Sahil Batra6a860c74d6f6
diff --git a/zerver/actions/streams.py b/zerver/actions/streams.pyindex ef1df7efec1..6599385de5e 100644--- a/zerver/actions/streams.py+++ b/zerver/actions/streams.py@@ -851,8 +851,6 @@ def do_change_stream_permission(# But absent such a refactoring, it's important to assert that# we're not requesting an unsupported configurations.if is_web_public:- assert history_public_to_subscribers is not False- assert invite_only is not Truestream.is_web_public = Truestream.invite_only = Falsestream.history_public_to_subscribers = True