mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 08:34:57 -04:00
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.
This commit is contained in:
parent
af67c7c1de
commit
d88421ab03
4 changed files with 12 additions and 4 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue