mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
allow blank, will be used on mobile to default to desktop setting
This commit is contained in:
parent
e983d7b8f4
commit
56e16e887f
@ -87,10 +87,10 @@ function getDefaultStateFromProps(props: Props): State {
|
||||
let emailThreads: UserNotifyProps['email_threads'] = NotificationLevels.ALL;
|
||||
let sound: UserNotifyProps['desktop_sound'] = 'true';
|
||||
let callsSound: UserNotifyProps['calls_desktop_sound'] = 'true';
|
||||
let callsMobileSound: UserNotifyProps['calls_mobile_sound'] = 'true';
|
||||
let callsMobileSound: UserNotifyProps['calls_mobile_sound'] = '';
|
||||
let desktopNotificationSound: UserNotifyProps['desktop_notification_sound'] = 'Bing';
|
||||
let callsNotificationSound: UserNotifyProps['calls_notification_sound'] = 'Calm';
|
||||
let callsMobileNotificationSound: UserNotifyProps['calls_mobile_notification_sound'] = 'Calm';
|
||||
let callsMobileNotificationSound: UserNotifyProps['calls_mobile_notification_sound'] = '';
|
||||
let comments: UserNotifyProps['comments'] = 'never';
|
||||
let enableEmail: UserNotifyProps['email'] = 'true';
|
||||
let pushActivity: UserNotifyProps['push'] = NotificationLevels.MENTION;
|
||||
|
@ -12,7 +12,7 @@ export type UserNotifyProps = {
|
||||
desktop: 'default' | 'all' | 'mention' | 'none';
|
||||
desktop_sound: 'true' | 'false';
|
||||
calls_desktop_sound: 'true' | 'false';
|
||||
calls_mobile_sound: 'true' | 'false';
|
||||
calls_mobile_sound: 'true' | 'false' | '';
|
||||
email: 'true' | 'false';
|
||||
mark_unread: 'all' | 'mention';
|
||||
push: 'default' | 'all' | 'mention' | 'none';
|
||||
@ -24,7 +24,7 @@ export type UserNotifyProps = {
|
||||
highlight_keys: string;
|
||||
desktop_notification_sound?: 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
|
||||
calls_notification_sound?: 'Dynamic' | 'Calm' | 'Urgent' | 'Cheerful';
|
||||
calls_mobile_notification_sound?: 'Dynamic' | 'Calm' | 'Urgent' | 'Cheerful';
|
||||
calls_mobile_notification_sound?: 'Dynamic' | 'Calm' | 'Urgent' | 'Cheerful' | '';
|
||||
desktop_threads?: 'default' | 'all' | 'mention' | 'none';
|
||||
email_threads?: 'default' | 'all' | 'mention' | 'none';
|
||||
push_threads?: 'default' | 'all' | 'mention' | 'none';
|
||||
|
Loading…
Reference in New Issue
Block a user