mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
The goal here is to make all our peer_data functions basically work in id space. Passing a full `sub` to these functions is a legacy of when subscriber info was attached to a full stream "sub" object, but we don't care about anything sub-related (color, description, name, etc.) when we are dealing with subscriptions. When callers pass in stream_id, you can be more confident in a quick skim of the code that we're not mutating anything in the "sub".
61 KiB
61 KiB