diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-25 16:16:34 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-25 16:16:34 +0000 |
commit | f091b73e6909eb6ad26870ccfc647f0ef2f50616 (patch) | |
tree | be9ccbd9f2829506b2db9b4767c66049bea44fbb /synapse/storage/roommember.py | |
parent | Merge pull request #526 from matrix-org/erikj/push_index (diff) | |
parent | Push: Use storage apis that are cached (diff) | |
download | synapse-f091b73e6909eb6ad26870ccfc647f0ef2f50616.tar.xz |
Merge pull request #527 from matrix-org/erikj/push_cache
Push: Use storage apis that are cached
Diffstat (limited to 'synapse/storage/roommember.py')
-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: |