We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
list rooms
1 parent c7ba745 commit cfea765Copy full SHA for cfea765
src/commands/ListProtectedRoomsCommand.ts
@@ -24,7 +24,7 @@ export async function execListProtectedRooms(roomId: string, event: any, mjolnir
24
let text = `Protected rooms (${rooms.length}):\n`;
25
26
let hasRooms = false;
27
- for (const protectedRoomId in rooms) {
+ for (const protectedRoomId of rooms) {
28
hasRooms = true;
29
30
const roomUrl = Permalinks.forRoom(protectedRoomId);
0 commit comments