[MM-30432]: Allow users to specify different desktop notification sounds per channel (#21671)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
951456c780
Коммит
fbd6b5efe1
@@ -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
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user