mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 17:54:48 -04:00
Push: Use storage apis that are cached
This commit is contained in:
parent
d685ae73b4
commit
53cb173663
2 changed files with 14 additions and 17 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue