diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-29 19:00:45 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-29 19:00:55 +0100 |
commit | 6797c7f1b138c7db59d8a7134091e0806cc44f74 (patch) | |
tree | a4809a99befd46dc5a7ad6208b9c33589b521bd1 /synapse/handlers/typing.py | |
parent | Rename 'events_key' to 'room_key' so it matches the name of the event source (diff) | |
download | synapse-6797c7f1b138c7db59d8a7134091e0806cc44f74.tar.xz |
TypingNotificationEventSource has to return proper tokens, not int 0
Diffstat (limited to 'synapse/handlers/typing.py')
-rw-r--r-- | synapse/handlers/typing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py index 8a1e3dc5e8..ecb9318d1c 100644 --- a/synapse/handlers/typing.py +++ b/synapse/handlers/typing.py @@ -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) |