Remove labs flag for custom notif sounds
This commit is contained in:
parent
96c20ea536
commit
300095f50f
6 changed files with 9 additions and 25 deletions
|
@ -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)"),
|
||||
|
|
|
@ -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) || {};
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue