settings: Move presence-enabled setting to 'Account & privacy'.

The presence setting is more suited in 'Account & privacy'
section as it is not related to notifications in anyway
and resembles privacy of user by allowing user to hide
his status of being online.
This commit is contained in:
sahil839
2021-07-01 19:46:23 +05:30
committed by Tim Abbott
parent 87d90f47ee
commit 7eb183fdf7
6 changed files with 30 additions and 17 deletions

View File

@@ -387,13 +387,10 @@ const email_notification_settings = [
"enable_marketing_emails",
];
const presence_notification_settings = ["presence_enabled"];
const other_notification_settings = desktop_notification_settings.concat(
["desktop_icon_count_display"],
mobile_notification_settings,
email_notification_settings,
presence_notification_settings,
["notification_sound"],
);
@@ -441,7 +438,6 @@ export const all_notifications = () => ({
desktop_notification_settings,
mobile_notification_settings,
email_notification_settings,
presence_notification_settings,
},
show_push_notifications_tooltip: {
push_notifications: !page_params.realm_push_notifications_enabled,