summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-07-09 13:43:08 +0100
committerGitHub <noreply@github.com>2019-07-09 13:43:08 +0100
commitd88421ab03e72a6c7f69ca38a57b4b6212f1bc82 (patch)
tree64635f93fd52e229b5ee8667bf8164b297685057 /synapse/storage
parentMerge pull request #5644 from matrix-org/babolivier/profile-allow-self (diff)
downloadsynapse-d88421ab03e72a6c7f69ca38a57b4b6212f1bc82.tar.xz
Include the original event in /relations (#5626)
When asking for the relations of an event, include the original event in the response. This will mostly be used for efficiently showing edit history, but could be useful in other circumstances.
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/relations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/relations.py b/synapse/storage/relations.py
index 1b01934c19..9954bc094f 100644
--- a/synapse/storage/relations.py
+++ b/synapse/storage/relations.py
@@ -60,7 +60,7 @@ class PaginationChunk(object):
 class RelationPaginationToken(object):
     """Pagination token for relation pagination API.
 
-    As the results are order by topological ordering, we can use the
+    As the results are in topological order, we can use the
     `topological_ordering` and `stream_ordering` fields of the events at the
     boundaries of the chunk as pagination tokens.