Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
streams: Fix can_remove_subscribers_from_stream type.
Anders Kaseorg23d9dd3163db
diff --git a/zerver/lib/streams.py b/zerver/lib/streams.pyindex 8af1658e87a..f4cfaf96be6 100644--- a/zerver/lib/streams.py+++ b/zerver/lib/streams.py@@ -606,7 +606,7 @@ def can_access_stream_history_by_id(user_profile: UserProfile, stream_id: int) -def can_remove_subscribers_from_stream(- stream: Stream, user_profile: UserProfile, sub: Subscription+ stream: Stream, user_profile: UserProfile, sub: Optional[Subscription]) -> bool:if not check_basic_stream_access(user_profile, stream, sub, allow_realm_admin=True):return False