mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
The maybe_clear_subscribers() function was an artifact of when we used to attach subscribers to the "sub" records in stream_data.js. I think it was basically a refactoring shim, and due to some other recent cleanup, it was only used in test code. We also change how we validate stream ids. Going forward, peer_data just looks up stream_ids with the normal stream_data API when it's trying to warn about rogue stream_ids coming in. As I alluded to in an earlier commit, some of the warning code here might be overly defensive, but at least it's pretty self-contained. |
||
|---|---|---|
| .. | ||
| assets | ||
| audio | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||