mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -04:00
Have EventSource's get_new_events_for_user() API work only on keys within that source, not overall eventstream tokens
This commit is contained in:
parent
56424eca5c
commit
eec67a675f
5 changed files with 33 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue