Use RoomList.orderAlphabetically as the inverse of RoomList.orderByRecents for migration

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-02-26 23:05:08 +00:00
parent a1908a208e
commit 3ad8b6e9cc
3 changed files with 9 additions and 8 deletions

View file

@ -433,10 +433,11 @@ export const SETTINGS = {
deny: [],
},
},
"RoomList.orderByRecents": {
"RoomList.orderAlphabetically": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td("Order rooms by message activity instead of by name"),
displayName: _td("Order rooms alphabetically by name instead of by recent activity"),
default: true,
invertedSettingName: "RoomList.orderByRecents",
},
"RoomList.orderByImportance": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,