diff options
author | Matthew Hodgson <matthew@matrix.org> | 2020-04-11 20:55:18 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2020-04-11 20:55:18 +0100 |
commit | 118b58f0c9897243f98072755cbc6606528dfa6c (patch) | |
tree | 06733c6efed78db9a305d844fcf8334c8ef0d98d /synapse | |
parent | Default PL100 to enable encryption in a room (#7230) (diff) | |
download | synapse-118b58f0c9897243f98072755cbc6606528dfa6c.tar.xz |
typos
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/sync.py | 2 | ||||
-rw-r--r-- | synapse/storage/data_stores/main/events_worker.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 1f1cde2feb..4f76b7a743 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -1639,7 +1639,7 @@ class SyncHandler(object): ) # We loop through all room ids, even if there are no new events, in case - # there are non room events taht we need to notify about. + # there are non room events that we need to notify about. for room_id in sync_result_builder.joined_room_ids: room_entry = room_to_events.get(room_id, None) diff --git a/synapse/storage/data_stores/main/events_worker.py b/synapse/storage/data_stores/main/events_worker.py index 16ea8948b1..accde349a7 100644 --- a/synapse/storage/data_stores/main/events_worker.py +++ b/synapse/storage/data_stores/main/events_worker.py @@ -632,7 +632,7 @@ class EventsWorkerStore(SQLBaseStore): event_map[event_id] = original_ev - # finally, we can decide whether each one nededs redacting, and build + # finally, we can decide whether each one needs redacting, and build # the cache entries. result_map = {} for event_id, original_ev in event_map.items(): |