mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
TypingNotificationEventSource has to return proper tokens, not int 0
This commit is contained in:
parent
4bfdec1eb2
commit
6797c7f1b1
@ -152,10 +152,10 @@ class TypingNotificationEventSource(object):
|
||||
self.hs = hs
|
||||
|
||||
def get_new_events_for_user(self, user, from_token, limit):
|
||||
return ([], 0)
|
||||
return ([], from_token)
|
||||
|
||||
def get_current_token_part(self):
|
||||
return 0
|
||||
|
||||
def get_pagination_rows(self, user, pagination_config, key):
|
||||
return ([], 0)
|
||||
return ([], pagination_config.from_token)
|
||||
|
Loading…
Reference in New Issue
Block a user