summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-05-03 10:38:08 +0100
committerErik Johnston <erik@matrix.org>2018-05-03 10:38:58 +0100
commit31c7c29d4304f7577a1f5dc1740fe3a248351500 (patch)
treec3205499a750d561a84e6256fcfa42eca84bf136
parentRefactor event storage to not require state (diff)
downloadsynapse-31c7c29d4304f7577a1f5dc1740fe3a248351500.tar.xz
Fix up grammar
-rw-r--r--synapse/storage/events.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index a9269707df..05cde96afc 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -556,9 +556,9 @@ class EventsStore(EventsWorkerStore):
 
             state_groups_map[ctx.state_group] = ctx.current_state_ids
 
-        # We need to map the event_ids to their state groups. First, lets
-        # check if the event is one we're persisting and then we can pull the
-        # state group from its context.
+        # We need to map the event_ids to their state groups. First, let's
+        # check if the event is one we're persisting, in which case we can
+        # pull the state group from its context.
         # Otherwise we need to pull the state group from the database.
 
         # Set of events we need to fetch groups for. (We know none of the old