JOIN state_events rather than parsing unrecognized_keys to pull out member state_keys

This commit is contained in:
Kegan Dougal 2015-03-02 10:41:35 +00:00
parent 3d73383d18
commit b216b36892
2 changed files with 5 additions and 11 deletions

View file

@ -218,7 +218,7 @@ class ApplicationServiceStore(SQLBaseStore):
# less obvious.
# get all rooms matching the room ID regex.
room_entries = yield self.get_all_rooms() # RoomEntry list
room_entries = yield self.get_all_rooms()
matching_room_list = set([
r["room_id"] for r in room_entries if
service.is_interested_in_room(r["room_id"])