mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-09 15:31:55 +00:00
Comment
This commit is contained in:
parent
34473a9c7f
commit
0677fc1c4e
@ -947,6 +947,9 @@ class RoomListHandler(BaseHandler):
|
|||||||
def handle_room(room_id):
|
def handle_room(room_id):
|
||||||
aliases = yield self.store.get_aliases_for_room(room_id)
|
aliases = yield self.store.get_aliases_for_room(room_id)
|
||||||
|
|
||||||
|
# We pull each bit of state out indvidually to avoid pulling the
|
||||||
|
# full state into memory. Due to how the caching works this should
|
||||||
|
# be fairly quick, even if not originally in the cache.
|
||||||
def get_state(etype, state_key):
|
def get_state(etype, state_key):
|
||||||
return self.state_handler.get_current_state(room_id, etype, state_key)
|
return self.state_handler.get_current_state(room_id, etype, state_key)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user