mirror of https://github.com/zulip/zulip.git
1ae07b93d8
This changes the payload that is used to populate `page_params` for the webapp, as well as responses to the once-every-50-seconds presence pings. Now our dictionary of users only has these two fields in the value: - activity_timestamp - idle_timestamp Example data: { 6: Object { idle_timestamp: 1585746028 }, 7: Object { active_timestamp: 1585745774 }, 8: Object { active_timestamp: 1585745578, idle_timestamp: 1585745400} } We only send the slimmer type of payload to clients that have set `slim_presence` to True. Note that this commit does not change the format of the event data, which still looks like this: { website: { client: 'website', pushable: false, status: 'active', timestamp: 1585745225 } } |
||
---|---|---|
.. | ||
casper_lib | ||
casper_tests | ||
node_tests | ||
puppeteer_tests | ||
zjsunit | ||
.eslintrc.json | ||
run-casper |