mirror of
https://github.com/element-hq/synapse
synced 2024-09-03 20:10:11 +00:00
Fix bug in generating current token
This commit is contained in:
parent
c544188ee3
commit
4d793626ff
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue