Support initial ordering and calculation for widgets by layout

This commit is contained in:
Travis Ralston 2021-01-18 17:41:42 -07:00
parent 4ee29d4e63
commit 0001e1e684
4 changed files with 311 additions and 1 deletions

View file

@ -633,7 +633,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
displayName: _td("Show chat effects"),
default: true,
},
"Widgets.pinned": {
"Widgets.pinned": { // deprecated
supportedLevels: LEVELS_ROOM_OR_ACCOUNT,
default: {},
},
"Widgets.layout": {
supportedLevels: LEVELS_ROOM_OR_ACCOUNT,
default: {},
},