mirror of https://github.com/vector-im/riot-web
get rid of unused stuff
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
f036f0bd83
commit
75c593b2f4
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue