diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-25 13:53:05 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-25 13:55:18 +0000 |
commit | 53cb17366391a13e8d8297c9f4fb3f77fd6b85b7 (patch) | |
tree | edd18b3842278968636257291633a5edc7413fc9 /synapse/storage | |
parent | Merge branch 'erikj/filters' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-53cb17366391a13e8d8297c9f4fb3f77fd6b85b7.tar.xz |
Push: Use storage apis that are cached
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/roommember.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 68ac88905f..edfecced05 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -110,6 +110,7 @@ class RoomMemberStore(SQLBaseStore): membership=membership, ).addCallback(self._get_events) + @cached() def get_invites_for_user(self, user_id): """ Get all the invite events for a user Args: |