Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix early reads of page_params #28389

Merged
merged 4 commits into from
Jan 2, 2024
Merged

Conversation

andersk
Copy link
Member

@andersk andersk commented Dec 31, 2023

For spectators, most of page_params has not been initialized yet at module load time.

For spectators, page_params.custom_profile_field_types has not been
initialized yet at module load time.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
For spectators, page_params.realm_create_public_stream_policy,
page_params.server_web_public_streams_enabled,
page_params.realm_enable_spectator_access have not been initialized
yet at module load time.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
For spectators,
page_params.server_typing_started_wait_period_milliseconds and
page_params.server_typing_stopped_wait_period_milliseconds have not
been initialized yet at module load time.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
For spectators,
page_params.server_typing_started_expiry_period_milliseconds has not
been initialized yet at module load time.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
@andersk andersk added the integration review Added by maintainers when a PR may be ready for integration. label Jan 2, 2024
@timabbott timabbott merged commit 06d439e into zulip:main Jan 2, 2024
8 checks passed
@timabbott
Copy link
Member

Merged, thanks @andersk! I don't think these are live bugs deserving to be backported, in that the code in question is I think not available to spectators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration review Added by maintainers when a PR may be ready for integration. size: L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants