mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 06:40:06 +00:00
TypingNotificationEventSource has to return proper tokens, not int 0
This commit is contained in:
parent
4bfdec1eb2
commit
6797c7f1b1
1 changed files with 2 additions and 2 deletions
|
@ -152,10 +152,10 @@ class TypingNotificationEventSource(object):
|
||||||
self.hs = hs
|
self.hs = hs
|
||||||
|
|
||||||
def get_new_events_for_user(self, user, from_token, limit):
|
def get_new_events_for_user(self, user, from_token, limit):
|
||||||
return ([], 0)
|
return ([], from_token)
|
||||||
|
|
||||||
def get_current_token_part(self):
|
def get_current_token_part(self):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
def get_pagination_rows(self, user, pagination_config, key):
|
def get_pagination_rows(self, user, pagination_config, key):
|
||||||
return ([], 0)
|
return ([], pagination_config.from_token)
|
||||||
|
|
Loading…
Reference in a new issue