Calculate the public room list from a stream_ordering

This commit is contained in:
Erik Johnston 2016-09-14 17:28:52 +01:00
parent 772c6067a3
commit c566f0ee17
2 changed files with 43 additions and 3 deletions

View file

@ -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: