mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 15:30:27 +03:00
add a generic getKnownRooms
This commit is contained in:
parent
93a1401b7c
commit
b59a5ac307
1 changed files with 2 additions and 4 deletions
|
|
@ -500,13 +500,11 @@ export class SmallWidgetDriver extends WidgetDriver {
|
|||
* client.
|
||||
* @returns The room IDs.
|
||||
*/
|
||||
/*
|
||||
public getKnownRooms(): string[] {
|
||||
return this.mxClient
|
||||
.getVisibleRooms(SettingsStore.getValue("feature_dynamic_room_predecessors"))
|
||||
.getVisibleRooms()
|
||||
.map((r) => r.roomId);
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Expresses a {@link MatrixError} as a JSON payload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue