fix room list fetch when attempting to cascade permissions. fixes #20.
This commit is contained in:
+2
-2
@@ -809,8 +809,8 @@ class CommunityBot(Plugin):
|
|||||||
if not changed_users:
|
if not changed_users:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Get all rooms in the space
|
# Get all rooms in the space (excludes non-child rooms like banlist policy rooms)
|
||||||
space_rooms = await self.client.get_joined_rooms()
|
space_rooms = await self.get_space_roomlist()
|
||||||
success_rooms = []
|
success_rooms = []
|
||||||
failed_rooms = []
|
failed_rooms = []
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
maubot: 0.1.0
|
maubot: 0.1.0
|
||||||
id: org.jobmachine.communitybot
|
id: org.jobmachine.communitybot
|
||||||
version: 0.3.1
|
version: 0.3.2
|
||||||
license: MIT
|
license: MIT
|
||||||
modules:
|
modules:
|
||||||
- community
|
- community
|
||||||
|
|||||||
Reference in New Issue
Block a user