From 1ec4523fc1ebd48dac8489d344971ec2f521548b Mon Sep 17 00:00:00 2001 From: William Kray Date: Mon, 6 Apr 2026 10:27:34 -0700 Subject: [PATCH] fix room list fetch when attempting to cascade permissions. fixes #20. --- community/bot.py | 4 ++-- maubot.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/community/bot.py b/community/bot.py index 8ce72ab..8cef124 100644 --- a/community/bot.py +++ b/community/bot.py @@ -809,8 +809,8 @@ class CommunityBot(Plugin): if not changed_users: return - # Get all rooms in the space - space_rooms = await self.client.get_joined_rooms() + # Get all rooms in the space (excludes non-child rooms like banlist policy rooms) + space_rooms = await self.get_space_roomlist() success_rooms = [] failed_rooms = [] diff --git a/maubot.yaml b/maubot.yaml index 03d05ae..9a8fe90 100644 --- a/maubot.yaml +++ b/maubot.yaml @@ -1,6 +1,6 @@ maubot: 0.1.0 id: org.jobmachine.communitybot -version: 0.3.1 +version: 0.3.2 license: MIT modules: - community