summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-05 12:44:39 +0100
committerErik Johnston <erik@matrix.org>2016-04-05 12:44:39 +0100
commitb29f98377d1966bc348d83cf6ba38b434a1a794e (patch)
tree80984de66275e89ad1372fe0d4ac7faaaf5e0c74 /synapse/storage/__init__.py
parentMerge pull request #690 from matrix-org/erikj/member (diff)
parentFix stuck invites (diff)
downloadsynapse-b29f98377d1966bc348d83cf6ba38b434a1a794e.tar.xz
Merge pull request #691 from matrix-org/erikj/member
Fix stuck invites
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 57863bba4d..07916b292d 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -94,7 +94,8 @@ class DataStore(RoomMemberStore, RoomStore,
         )
 
         self._stream_id_gen = StreamIdGenerator(
-            db_conn, "events", "stream_ordering"
+            db_conn, "events", "stream_ordering",
+            extra_tables=[("local_invites", "stream_id")]
         )
         self._backfill_id_gen = StreamIdGenerator(
             db_conn, "events", "stream_ordering", step=-1