File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 5959 intro : |
6060 # Announcements
6161 This the place for timely conference updates and announcements.
62- readOnly : true
62+ moderatorsOnly : true
6363 suggested : true
6464 SeaGL2023-CurrentSessions :
6565 tag : seagl2023-current-sessions
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export namespace Plan {
1313 control ?: boolean ;
1414 destroy ?: boolean ;
1515 intro ?: string ;
16+ moderatorsOnly ?: boolean ;
1617 name : string ;
1718 private ?: boolean ;
1819 readOnly ?: boolean ;
Original file line number Diff line number Diff line change @@ -219,7 +219,11 @@ export default class extends Module {
219219 ...inherited ,
220220 ...this . plan . powerLevels . users ,
221221 } ,
222- ...( room . readOnly || room . redirect ? { events_default : 99 } : { } ) ,
222+ ...( room . moderatorsOnly
223+ ? { events_default : 50 }
224+ : room . readOnly || room . redirect
225+ ? { events_default : 99 }
226+ : { } ) ,
223227 } ;
224228 }
225229
You can’t perform that action at this time.
0 commit comments