mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-18 10:19:17 -04:00
Modify _simple_select_list to allow an empty WHERE clause. Use it for get_all_rooms and get_all_users.
This commit is contained in:
parent
ebc4830666
commit
3d73383d18
4 changed files with 21 additions and 17 deletions
|
@ -220,8 +220,8 @@ class ApplicationServiceStore(SQLBaseStore):
|
|||
# get all rooms matching the room ID regex.
|
||||
room_entries = yield self.get_all_rooms() # RoomEntry list
|
||||
matching_room_list = set([
|
||||
r.room_id for r in room_entries if
|
||||
service.is_interested_in_room(r.room_id)
|
||||
r["room_id"] for r in room_entries if
|
||||
service.is_interested_in_room(r["room_id"])
|
||||
])
|
||||
|
||||
# resolve room IDs for matching room alias regex.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue