home: Send state_data in a separate object.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-02-12 17:56:26 -08:00
committed by Tim Abbott
parent b9e62c7af8
commit bf6978185d
4 changed files with 91 additions and 84 deletions

View File

@@ -828,7 +828,7 @@ export function get_notifications_stream(): string {
export function initialize(params: StreamInitParams): void {
/*
We get `params` data, which is data that we "own"
and which has already been removed from `page_params`.
and which has already been removed from `state_data`.
We only use it in this function to populate other
data structures.
*/