TypingNotificationEventSource has to return proper tokens, not int 0

This commit is contained in:
Paul "LeoNerd" Evans 2014-08-29 19:00:45 +01:00
parent 4bfdec1eb2
commit 6797c7f1b1

View file

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