Remove labs flag for custom notif sounds

This commit is contained in:
Will Hunt 2019-06-03 17:35:15 +01:00
parent 96c20ea536
commit 300095f50f
6 changed files with 9 additions and 25 deletions

View file

@ -126,12 +126,6 @@ export const SETTINGS = {
supportedLevels: LEVELS_FEATURE,
default: false,
},
"feature_notification_sounds": {
isFeature: true,
displayName: _td("Custom Notification Sounds"),
supportedLevels: LEVELS_FEATURE,
default: false,
},
"feature_reactions": {
isFeature: true,
displayName: _td("React to messages with emoji (refresh to apply changes)"),

View file

@ -73,10 +73,6 @@ export default class AccountSettingsHandler extends MatrixClientBackedSettingsHa
return !content['disable'];
}
if (settingName === "notificationSound") {
return this._getSettings("uk.half-shot.notification.sound");
}
// Special case for breadcrumbs
if (settingName === "breadcrumb_rooms") {
const content = this._getSettings(BREADCRUMBS_EVENT_TYPE) || {};

View file

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