diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-29 19:13:55 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-29 19:13:55 +0100 |
commit | eec67a675f7ea3545bfba79c6b753f63f7fd9b3b (patch) | |
tree | 3f21a7efafb131bd76848cdc50ce574edb95fd2f /synapse/handlers/typing.py | |
parent | Bugfix for rest presence test - datastore needs to implement profile methods (diff) | |
download | synapse-eec67a675f7ea3545bfba79c6b753f63f7fd9b3b.tar.xz |
Have EventSource's get_new_events_for_user() API work only on keys within that source, not overall eventstream tokens
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 ecb9318d1c..238b063483 100644 --- a/synapse/handlers/typing.py +++ b/synapse/handlers/typing.py @@ -151,8 +151,8 @@ class TypingNotificationEventSource(object): def __init__(self, hs): self.hs = hs - def get_new_events_for_user(self, user, from_token, limit): - return ([], from_token) + def get_new_events_for_user(self, user, from_key, limit): + return ([], from_key) def get_current_token_part(self): return 0 |