diff options
author | Erik Johnston <erikj@jki.re> | 2016-12-09 11:35:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 11:35:48 +0000 |
commit | 1697f6a3239aef4a02b397efb8dc2df2ec0dd15d (patch) | |
tree | d67f98268c83f9f5abb146b817c740702b6835af /synapse/storage/stream.py | |
parent | Merge pull request #1678 from matrix-org/rav/fix_receipt_notifications (diff) | |
parent | Add /room/<room_id>/joined_members API (diff) | |
download | synapse-1697f6a3239aef4a02b397efb8dc2df2ec0dd15d.tar.xz |
Merge pull request #1680 from matrix-org/erikj/joined_rooms
Add new room membership APIs
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r-- | synapse/storage/stream.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index 7fa63b58a7..2dc24951c4 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -541,6 +541,9 @@ class StreamStore(SQLBaseStore): def get_room_max_stream_ordering(self): return self._stream_id_gen.get_current_token() + def get_room_min_stream_ordering(self): + return self._backfill_id_gen.get_current_token() + def get_stream_token_for_event(self, event_id): """The stream token for an event Args: |