Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
streams: Remove unnecessary realm parameter from function.
Sahil Batra6150d8657846
diff --git a/zerver/lib/streams.py b/zerver/lib/streams.pyindex 666c6780b12..9f64cb78f8b 100644--- a/zerver/lib/streams.py+++ b/zerver/lib/streams.py@@ -158,7 +158,6 @@ def validate_topics_policy(def get_default_value_for_history_public_to_subscribers(- realm: Realm,invite_only: bool,history_public_to_subscribers: bool | None,) -> bool:@@ -361,7 +360,7 @@ def create_stream_if_needed(anonymous_group_membership: dict[int, UserGroupMembersData] | None = None,) -> tuple[Stream, bool]:history_public_to_subscribers = get_default_value_for_history_public_to_subscribers(- realm, invite_only, history_public_to_subscribers+ invite_only, history_public_to_subscribers)group_setting_values = {}diff --git a/zerver/lib/test_classes.py b/zerver/lib/test_classes.pyindex 48e2d0d7fd8..50312f27c30 100644--- a/zerver/lib/test_classes.py+++ b/zerver/lib/test_classes.py@@ -1521,7 +1521,7 @@ Output:realm = get_realm("zulip")history_public_to_subscribers = get_default_value_for_history_public_to_subscribers(- realm, invite_only, history_public_to_subscribers+ invite_only, history_public_to_subscribers)try: