summary refs log tree commit diff
diff options
context:
space:
mode:
-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: