Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

Remove `$("#user_presence_enabled").val(page_params.presence_enabled);`.

Dineshbb3953e02caf
diff --git a/static/js/settings_account.js b/static/js/settings_account.js
index 15c81a41fd7..c0728077514 100644
--- a/static/js/settings_account.js
+++ b/static/js/settings_account.js
@@ -682,8 +682,6 @@ export function set_up() {
);
});
- $("#user_presence_enabled").val(user_settings.presence_enabled);
-
$("#user_presence_enabled").on("change", (e) => {
e.preventDefault();
e.stopPropagation();