forked from github/cinny
add a generic getKnownRooms
This commit is contained in:
@@ -500,13 +500,11 @@ export class SmallWidgetDriver extends WidgetDriver {
|
|||||||
* client.
|
* client.
|
||||||
* @returns The room IDs.
|
* @returns The room IDs.
|
||||||
*/
|
*/
|
||||||
/*
|
|
||||||
public getKnownRooms(): string[] {
|
public getKnownRooms(): string[] {
|
||||||
return this.mxClient
|
return this.mxClient
|
||||||
.getVisibleRooms(SettingsStore.getValue("feature_dynamic_room_predecessors"))
|
.getVisibleRooms()
|
||||||
.map((r) => r.roomId);
|
.map((r) => r.roomId);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Expresses a {@link MatrixError} as a JSON payload
|
* Expresses a {@link MatrixError} as a JSON payload
|
||||||
|
|||||||
Reference in New Issue
Block a user