[MM-30432]: Allow users to specify different desktop notification sounds per channel (#21671)

Этот коммит содержится в:
KyeongSoo Kim
2023-06-05 20:58:05 +09:00
коммит произвёл GitHub
родитель 951456c780
Коммит fbd6b5efe1
25 изменённых файлов: 633 добавлений и 135 удалений

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

@@ -1334,6 +1334,14 @@ func (a *App) UpdateChannelMemberNotifyProps(c request.CTX, data map[string]stri
filteredProps[model.DesktopNotifyProp] = desktop
}
if desktop_sound, exists := data[model.DesktopSoundNotifyProp]; exists {
filteredProps[model.DesktopSoundNotifyProp] = desktop_sound
}
if desktop_notification_sound, exists := data["desktop_notification_sound"]; exists {
filteredProps["desktop_notification_sound"] = desktop_notification_sound
}
if desktop_threads, exists := data[model.DesktopThreadsNotifyProp]; exists {
filteredProps[model.DesktopThreadsNotifyProp] = desktop_threads
}