Use uk.half-shot.*

This commit is contained in:
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']; return !content['disable'];
} }
if (settingName === "notificationsEnabled") { if (settingName === "notificationSound") {
return this._getSettings("m.notification.sound"); return this._getSettings("uk.half-shot.notification.sound");
} }
// Special case for breadcrumbs // Special case for breadcrumbs

View file

@ -68,8 +68,8 @@ export default class RoomSettingsHandler extends MatrixClientBackedSettingsHandl
return !content['disable']; return !content['disable'];
} }
if (settingName === "notificationsEnabled") { if (settingName === "notificationSound") {
return this._getSettings(roomId, "m.notification.sound"); return this._getSettings(roomId, "uk.half-shot.notification.sound");
} }
const settings = this._getSettings(roomId) || {}; const settings = this._getSettings(roomId) || {};