mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
presence: Frontend implementation of the last_update_id API.
Note: This involves adding presence info of unknown users to the presence data. With some small tweaks, we can just add the info to the presence data structures, just making sure the buddy list correctly skips those entries and that we redraw the user in the case where the user creation event arrives after the presence polling loop.
This commit is contained in:
committed by
Tim Abbott
parent
3a680763bd
commit
3ded4c2a7d
@@ -480,7 +480,7 @@ export function initialize_everything(state_data) {
|
||||
|
||||
const pm_conversations_params = pop_fields("recent_private_conversations");
|
||||
|
||||
const presence_params = pop_fields("presences", "server_timestamp");
|
||||
const presence_params = pop_fields("presences", "server_timestamp", "presence_last_update_id");
|
||||
|
||||
const starred_messages_params = pop_fields("starred_messages");
|
||||
const stream_data_params = pop_fields(
|
||||
|
||||
Reference in New Issue
Block a user