[MM-60218] Resettting to default doesnt reset to user's global notification setting in a channel's setting (#28046)

Этот коммит содержится в:
M-ZubairAhmed
2024-09-27 18:17:23 +00:00
коммит произвёл GitHub
родитель bb4d7de2b5
Коммит 4c6ac0a432
20 изменённых файлов: 2839 добавлений и 1517 удалений

Просмотреть файл

@@ -22,8 +22,8 @@ export type ChannelStats = {
export type ChannelNotifyProps = {
desktop_threads: 'default' | 'all' | 'mention' | 'none';
desktop: 'default' | 'all' | 'mention' | 'none';
desktop_sound: 'on' | 'off';
desktop_notification_sound?: 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
desktop_sound: 'default' | 'on' | 'off';
desktop_notification_sound?: 'default' | 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
email: 'default' | 'all' | 'mention' | 'none';
mark_unread: 'all' | 'mention';
push: 'default' | 'all' | 'mention' | 'none';

Просмотреть файл

@@ -10,7 +10,7 @@ import type {IDMappedObjects, RelationOneToManyUnique, RelationOneToOne} from '.
export type UserNotifyProps = {
desktop: 'default' | 'all' | 'mention' | 'none';
desktop_sound: 'true' | 'false';
desktop_sound: 'default' | 'true' | 'false';
calls_desktop_sound: 'true' | 'false';
email: 'true' | 'false';
mark_unread: 'all' | 'mention';
@@ -21,7 +21,7 @@ export type UserNotifyProps = {
channel: 'true' | 'false';
mention_keys: string;
highlight_keys: string;
desktop_notification_sound?: 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
desktop_notification_sound?: 'default' | 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
calls_notification_sound?: 'Dynamic' | 'Calm' | 'Urgent' | 'Cheerful';
desktop_threads?: 'default' | 'all' | 'mention' | 'none';
email_threads?: 'default' | 'all' | 'mention' | 'none';