mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
streams: Remove require_active in access_stream code path.
This was confusingly doing an assertion about the subscription being active, not the channel. We could rename it to require_active_subscription. But it was only passed with a non-default value inb2cb443d24
, and that call was removed in378062cc83
.
This commit is contained in:
@@ -185,7 +185,6 @@ def get_chart_data_for_stream(
|
||||
stream, ignored_sub = access_stream_by_id(
|
||||
user_profile,
|
||||
stream_id,
|
||||
require_active=True,
|
||||
require_content_access=False,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user