mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Send client information for initial presence and process time differential
(imported from commit 99a51b7cc8b6c51c4e82757a984d07603b2980e3)
This commit is contained in:
@@ -61,7 +61,7 @@ $(function () {
|
||||
"full_name": "Humbug Feedback Bot"}]);
|
||||
|
||||
$.each(page_params.initial_presences, function (email, presence) {
|
||||
activity.set_user_status(email, presence.status);
|
||||
activity.set_user_status(email, presence);
|
||||
});
|
||||
|
||||
});
|
||||
@@ -694,7 +694,7 @@ function get_updates(options) {
|
||||
}
|
||||
break;
|
||||
case 'presence':
|
||||
activity.set_user_status(event.email, event.presence.status);
|
||||
activity.set_user_status(event.email, event.presence);
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user