Use uk.half-shot.*

pull/21833/head
Will Hunt 2019-04-23 16:23:58 +01:00
parent 9de8920869
commit 020d210cb0
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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) || {};