Use uk.half-shot.*
This commit is contained in:
parent
9de8920869
commit
020d210cb0
2 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue