mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
api: Add server_timestamp to register response.
Since this is currently only useful to interpret presence data, we send this only if presence is requested. I'm not sure that server_timestamp is the right name for this field, but ultimately it should match the main presence API format.
This commit is contained in:
@@ -446,7 +446,7 @@ export function initialize_everything() {
|
||||
|
||||
const pm_conversations_params = pop_fields("recent_private_conversations");
|
||||
|
||||
const presence_params = pop_fields("presences", "initial_servertime");
|
||||
const presence_params = pop_fields("presences", "server_timestamp");
|
||||
|
||||
const stream_data_params = pop_fields(
|
||||
"subscriptions",
|
||||
|
||||
Reference in New Issue
Block a user