mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
This removes a bit of complexity. If a piece of settings code needs to render a stream with subscribers, it just asks for it. We no longer have the brittle, action-at-a-distance mechanism of mutating the subscriber count on to the stream_data version of a sub. Stream subs are pretty small, so making copies of them is cheap, and the blueslip timings from the previous commit can help confirm that. There is some discussion of putting `subscriber_count` on the Stream model, which may eventually get us away from tracking it in `peer_data.js`, but we will cross that bridge when we get there. See https://github.com/zulip/zulip/issues/17101 for more details. |
||
|---|---|---|
| .. | ||
| assets | ||
| audio | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||