mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 11:21:07 +02:00
Use uk.half-shot.*
This commit is contained in:
parent
9de8920869
commit
020d210cb0
@ -73,8 +73,8 @@ export default class AccountSettingsHandler extends MatrixClientBackedSettingsHa
|
||||
return !content['disable'];
|
||||
}
|
||||
|
||||
if (settingName === "notificationsEnabled") {
|
||||
return this._getSettings("m.notification.sound");
|
||||
if (settingName === "notificationSound") {
|
||||
return this._getSettings("uk.half-shot.notification.sound");
|
||||
}
|
||||
|
||||
// Special case for breadcrumbs
|
||||
|
@ -68,8 +68,8 @@ export default class RoomSettingsHandler extends MatrixClientBackedSettingsHandl
|
||||
return !content['disable'];
|
||||
}
|
||||
|
||||
if (settingName === "notificationsEnabled") {
|
||||
return this._getSettings(roomId, "m.notification.sound");
|
||||
if (settingName === "notificationSound") {
|
||||
return this._getSettings(roomId, "uk.half-shot.notification.sound");
|
||||
}
|
||||
|
||||
const settings = this._getSettings(roomId) || {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user