mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
The "streams" field in "/register" response did not include web-public streams for non-admin users but the data for those are eventually included in the subscriptions data sent using "subscriptions", "unsubscribed" and "never_subscribed" fields. This commit adds code to include the web-public streams in "streams" field as well as everyone can access those and will make the "streams" data complete.