mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 02:35:02 -04:00
Rework stream token to stop caring about groups. (#12897)
This commit is contained in:
parent
d0e40dfe29
commit
e541bb9eed
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue