Fix bug in generating current token

This commit is contained in:
Erik Johnston 2017-07-20 16:42:44 +01:00
parent c544188ee3
commit 4d793626ff
1 changed files with 2 additions and 0 deletions

View File

@ -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)