mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Appease the linter
This commit is contained in:
parent
b9c57f47b0
commit
c2c328e23c
1 changed files with 4 additions and 0 deletions
|
@ -31,13 +31,17 @@ export class VisibilityProvider {
|
|||
}
|
||||
|
||||
public isRoomVisible(room: Room): boolean {
|
||||
/* eslint-disable prefer-const */
|
||||
let isVisible = true; // Returned at the end of this function
|
||||
let forced = false; // When true, this function won't bother calling the customisation points
|
||||
/* eslint-enable prefer-const */
|
||||
|
||||
// ------
|
||||
// TODO: The `if` statements to control visibility of custom room types
|
||||
// would go here. The remainder of this function assumes that the statements
|
||||
// will be here.
|
||||
//
|
||||
// When removing this comment block, please remove the lint disable lines in the area.
|
||||
// ------
|
||||
|
||||
const isVisibleFn = RoomListCustomisations.isRoomVisible;
|
||||
|
|
Loading…
Reference in a new issue