diff --git a/src/gui/Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml b/src/gui/Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml index d0474aa6..6085d685 100644 --- a/src/gui/Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml +++ b/src/gui/Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml @@ -36,7 +36,12 @@ HFlickableColumnPopup { undefined const actions = [] - const sfx = soundCheck.checked ? "default": false + const sfx = + soundCheck.checked && rule.sound ? rule.sound : + soundCheck.checked && rule.rule_id === ".m.rule.call" ? "ring" : + soundCheck.checked ? "default": + false + notifyCheck.checked && actions.push("notify") actions.push({set_tweak: "highlight", value: highlightCheck.checked}) actions.push({set_tweak: "bubble", value: bubbleCheck.checked})