Define a new event stream data source for typing notifications (currently null)

This commit is contained in:
Paul "LeoNerd" Evans 2014-08-29 17:39:33 +01:00
parent f85a3757cf
commit 6dd50da54e
4 changed files with 33 additions and 11 deletions

View file

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