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