diff --git a/src/settings/Settings.js b/src/settings/Settings.js index 87602f866c..4687b57b3b 100644 --- a/src/settings/Settings.js +++ b/src/settings/Settings.js @@ -437,7 +437,6 @@ export const SETTINGS = { supportedLevels: LEVELS_ACCOUNT_SETTINGS, displayName: _td("Order rooms by name"), default: true, - invertedSettingName: "RoomList.orderByRecents", }, "RoomList.orderByImportance": { supportedLevels: LEVELS_ACCOUNT_SETTINGS, diff --git a/src/settings/controllers/SettingController.js b/src/settings/controllers/SettingController.js index 9327f6ab48..a7d0ccf21a 100644 --- a/src/settings/controllers/SettingController.js +++ b/src/settings/controllers/SettingController.js @@ -47,15 +47,4 @@ export default class SettingController { onChange(level, roomId, newValue) { // do nothing by default } - - /** - * Gets the value which should actually get written into the store based on the input value from setValue. - * @param {string} level The level at which the setting has been modified. - * @param {String} roomId The room ID, may be null. - * @param {*} newValue The new value for the setting, may be null. - * @return {*} The value that should be used, may be null. - */ - augmentValue(level, roomId, newValue) { - return newValue; - } }