summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/roommember.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index 46efdfb3e2..dcb95b924a 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -417,6 +417,9 @@ class RoomMemberStore(SQLBaseStore):
             if key[0] == EventTypes.Member
         ]
 
+        # We check if we have any of the member event ids in the event cache
+        # before we ask the DB
+
         event_map = self._get_events_from_cache(
             member_event_ids,
             allow_rejected=False,