mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13:46 +00:00
stream_subscription: Remove opaque reference to guest role.
This commit is contained in:
@@ -275,6 +275,6 @@ def subscriber_ids_with_stream_history_access(stream: Stream) -> Set[int]:
|
||||
|
||||
return set(
|
||||
subscriptions.filter(user_profile__is_active=True)
|
||||
.exclude(user_profile__role=600)
|
||||
.exclude(user_profile__role=UserProfile.ROLE_GUEST)
|
||||
.values_list("user_profile__id", flat=True)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user