mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 08:56:02 -04:00
Calculate the public room list from a stream_ordering
This commit is contained in:
parent
772c6067a3
commit
c566f0ee17
2 changed files with 43 additions and 3 deletions
|
@ -531,6 +531,9 @@ class StreamStore(SQLBaseStore):
|
|||
)
|
||||
defer.returnValue("t%d-%d" % (topo, token))
|
||||
|
||||
def get_room_max_stream_ordering(self):
|
||||
return self._stream_id_gen.get_current_token()
|
||||
|
||||
def get_stream_token_for_event(self, event_id):
|
||||
"""The stream token for an event
|
||||
Args:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue