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.

minor: Remove confusing parens.

Steve Howell78384ebf1ba5
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index 481b028fbcc..4f76a9cc612 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -5074,7 +5074,7 @@ def gather_subscriptions_helper(user_profile: UserProfile,
if ns_stream_dict['id'] in never_subscribed_stream_ids]
for stream in never_subscribed_streams:
- is_public = (not stream['invite_only'])
+ is_public = not stream['invite_only']
if is_public or user_profile.is_realm_admin:
stream_dict = build_stream_dict_for_never_sub(
stream=stream,