mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
Previously, we handled these updates in server_events_dispatch and could accidentally call widget.render() before initializing the widget. Original report: https://chat.zulip.org/#narrow/near/875608. The sync_realm_settings function ensures that if the settings are not open, any updates are a noop.