summary refs log tree commit diff
path: root/synapse/streams
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-20 16:42:44 +0100
committerErik Johnston <erik@matrix.org>2017-07-20 16:42:44 +0100
commit4d793626ffae05e3d9ac2d770bea7224a3318a56 (patch)
tree9b563a7c7c7d75980e36758de458709857a47a67 /synapse/streams
parentAdd groups to sync stream (diff)
downloadsynapse-4d793626ffae05e3d9ac2d770bea7224a3318a56.tar.xz
Fix bug in generating current token
Diffstat (limited to 'synapse/streams')
-rw-r--r--synapse/streams/events.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/streams/events.py b/synapse/streams/events.py
index e2be500815..f03ad99118 100644
--- a/synapse/streams/events.py
+++ b/synapse/streams/events.py
@@ -75,6 +75,7 @@ class EventSources(object):
         push_rules_key, _ = self.store.get_push_rules_stream_token()
         to_device_key = self.store.get_to_device_stream_token()
         device_list_key = self.store.get_device_stream_token()
+        groups_key = self.store.get_group_stream_token()
 
         token = StreamToken(
             room_key=(
@@ -95,5 +96,6 @@ class EventSources(object):
             push_rules_key=push_rules_key,
             to_device_key=to_device_key,
             device_list_key=device_list_key,
+            groups_key=groups_key,
         )
         defer.returnValue(token)