mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
For the rare case where you're doing a link to a private stream from a larger private stream that is a superset of the former, we have bypassed warnings that you are linking to a private stream. I'm not sure we need this exemption for any situation (just let the user bypass the warning), but we definitely don't want false positives for the exemption. For now I am closing down this loophole specifically for Zephyr users. Zephyr users are special in that we might not get subscriber info on certain streams. The current behavior for this edge case is a little unclear. The current implementation of peer_data.is_subscriber_subset returns false if both streams are untracked, but most streams are tracked if we have a sub for them and just get treated as having an empty set of subscribers. And an empty set is a subset of itself. Upcoming changes to our server data are gonna make this edge case even more annoying to maintain.
44 KiB
44 KiB