summary refs log tree commit diff
path: root/synapse/streams
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-07-09 09:52:58 -0400
committerGitHub <noreply@github.com>2020-07-09 09:52:58 -0400
commit38e1fac8861f12b707609da06008695a05aaf21c (patch)
tree4d176e1a5e96a7f488081c970f2c59e495533ba8 /synapse/streams
parent`update_membership` declaration: now always returns an event id. (#7809) (diff)
downloadsynapse-38e1fac8861f12b707609da06008695a05aaf21c.tar.xz
Fix some spelling mistakes / typos. (#7811)
Diffstat (limited to 'synapse/streams')
-rw-r--r--synapse/streams/config.py4
-rw-r--r--synapse/streams/events.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/synapse/streams/config.py b/synapse/streams/config.py
index cd56cd91ed..ca7c16ff65 100644
--- a/synapse/streams/config.py
+++ b/synapse/streams/config.py
@@ -68,13 +68,13 @@ class PaginationConfig(object):
             elif from_tok:
                 from_tok = StreamToken.from_string(from_tok)
         except Exception:
-            raise SynapseError(400, "'from' paramater is invalid")
+            raise SynapseError(400, "'from' parameter is invalid")
 
         try:
             if to_tok:
                 to_tok = StreamToken.from_string(to_tok)
         except Exception:
-            raise SynapseError(400, "'to' paramater is invalid")
+            raise SynapseError(400, "'to' parameter is invalid")
 
         limit = parse_integer(request, "limit", default=default_limit)
 
diff --git a/synapse/streams/events.py b/synapse/streams/events.py
index fcd2aaa9c9..5d3eddcfdc 100644
--- a/synapse/streams/events.py
+++ b/synapse/streams/events.py
@@ -68,7 +68,7 @@ class EventSources(object):
         The returned token does not have the current values for fields other
         than `room`, since they are not used during pagination.
 
-        Retuns:
+        Returns:
             Deferred[StreamToken]
         """
         token = StreamToken(