summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-12-08 13:02:58 +0000
committerErik Johnston <erik@matrix.org>2016-12-08 13:08:41 +0000
commitc45d8e9ba20bd14228e95a1f21021dfb38240daf (patch)
tree290a2896587bbbbc10dac36b5c2eeda4abbb7b82 /synapse/storage/stream.py
parentAdd joined_rooms servlet (diff)
downloadsynapse-c45d8e9ba20bd14228e95a1f21021dfb38240daf.tar.xz
Add profile data to the room_membership table for joins
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r--synapse/storage/stream.py3
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: