mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Define a new event stream data source for typing notifications (currently null)
This commit is contained in:
parent
f85a3757cf
commit
6dd50da54e
4 changed files with 33 additions and 11 deletions
|
@ -145,3 +145,17 @@ class TypingNotificationHandler(BaseHandler):
|
|||
typing):
|
||||
# TODO(paul) steal this from presence.py
|
||||
pass
|
||||
|
||||
|
||||
class TypingNotificationEventSource(object):
|
||||
def __init__(self, hs):
|
||||
self.hs = hs
|
||||
|
||||
def get_new_events_for_user(self, user, from_token, limit):
|
||||
return ([], 0)
|
||||
|
||||
def get_current_token_part(self):
|
||||
return 0
|
||||
|
||||
def get_pagination_rows(self, user, pagination_config, key):
|
||||
return ([], 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue