summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-07-11 13:33:23 +0100
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-07-11 13:33:23 +0100
commit78a1cd36b568c3021b311703df147b68f5fd1c19 (patch)
treeb99ea1508daa2ab103aebdf465a7e0506ddb826f
parentClean up exception handling for access_tokens (#5656) (diff)
downloadsynapse-78a1cd36b568c3021b311703df147b68f5fd1c19.tar.xz
small typo fix (#5655)
-rw-r--r--changelog.d/5655.doc1
-rw-r--r--synapse/storage/events_worker.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/5655.doc b/changelog.d/5655.doc
new file mode 100644
index 0000000000..acab6aee92
--- /dev/null
+++ b/changelog.d/5655.doc
@@ -0,0 +1 @@
+Fix a small typo in a code comment.
\ No newline at end of file
diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py
index 09db872511..874d0a56bc 100644
--- a/synapse/storage/events_worker.py
+++ b/synapse/storage/events_worker.py
@@ -327,7 +327,7 @@ class EventsWorkerStore(SQLBaseStore):
 
         Args:
             events (list(str)): list of event_ids to fetch
-            allow_rejected (bool): Whether to teturn events that were rejected
+            allow_rejected (bool): Whether to return events that were rejected
             update_metrics (bool): Whether to update the cache hit ratio metrics
 
         Returns: