mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
history_public_to_subscribers wasn't explicitly set when creating streams via build_stream, thus relying on the model's default of False. This lead to public streams being created with that value set to False, which doesn't make sense. We can solve this by inferring the correct value based on invite_only in the build_stream funtion itself - rather than needing to add a flag argument to it. This commit also includes a migration to fix public stream with the wrong history_public_to_subscribers value. Fixes #21784.
51 KiB
51 KiB