Use cached version of get_aliases_for_room

This commit is contained in:
Erik Johnston 2016-08-15 11:24:12 +01:00
parent 64e7e11853
commit 0be963472b

View file

@ -20,4 +20,4 @@ from synapse.storage.directory import DirectoryStore
class DirectoryStore(BaseSlavedStore): class DirectoryStore(BaseSlavedStore):
get_aliases_for_room = DirectoryStore.__dict__[ get_aliases_for_room = DirectoryStore.__dict__[
"get_aliases_for_room" "get_aliases_for_room"
].orig ]