Merge pull request #1936 from turt2live/travis/pinned-room-list

Add options to pin unread/mentioned rooms to the top of the room list
This commit is contained in:
Travis Ralston
2018-11-01 08:04:12 -06:00
committed by GitHub
4 changed files with 39 additions and 0 deletions
+10
View File
@@ -276,6 +276,16 @@ export const SETTINGS = {
default: true,
controller: new AudioNotificationsEnabledController(),
},
"pinMentionedRooms": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td("Pin rooms I'm mentioned in to the top of the room list"),
default: false,
},
"pinUnreadRooms": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td("Pin unread rooms to the top of the room list"),
default: false,
},
"enableWidgetScreenshots": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Enable widget screenshots on supported widgets'),