summary refs log tree commit diff
path: root/synapse/streams
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-05-31 07:42:50 -0400
committerGitHub <noreply@github.com>2022-05-31 07:42:50 -0400
commite541bb9eed964e6840ddf2cd859af3f94150dc85 (patch)
treeb27f01193456c898cc660de02723bf0884249059 /synapse/streams
parentFix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12923) (diff)
downloadsynapse-e541bb9eed964e6840ddf2cd859af3f94150dc85.tar.xz
Rework stream token to stop caring about groups. (#12897)
Diffstat (limited to 'synapse/streams')
-rw-r--r--synapse/streams/events.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/streams/events.py b/synapse/streams/events.py
index acf17ba623..54e0b1a23b 100644
--- a/synapse/streams/events.py
+++ b/synapse/streams/events.py
@@ -54,7 +54,6 @@ class EventSources:
         push_rules_key = self.store.get_max_push_rules_stream_id()
         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=self.sources.room.get_current_key(),
@@ -65,7 +64,8 @@ class EventSources:
             push_rules_key=push_rules_key,
             to_device_key=to_device_key,
             device_list_key=device_list_key,
-            groups_key=groups_key,
+            # Groups key is unused.
+            groups_key=0,
         )
         return token