mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 10:35:46 +03:00
synapse/streams/events.py:StreamSource was unused
This commit is contained in:
parent
f2fcc0a8cf
commit
a247729806
1 changed files with 0 additions and 12 deletions
|
@ -70,15 +70,3 @@ class EventSources(object):
|
|||
),
|
||||
)
|
||||
defer.returnValue(token)
|
||||
|
||||
|
||||
class StreamSource(object):
|
||||
def get_new_events_for_user(self, user, from_key, limit):
|
||||
"""from_key is the key within this event source."""
|
||||
raise NotImplementedError("get_new_events_for_user")
|
||||
|
||||
def get_current_key(self):
|
||||
raise NotImplementedError("get_current_key")
|
||||
|
||||
def get_pagination_rows(self, user, pagination_config, key):
|
||||
raise NotImplementedError("get_rows")
|
||||
|
|
Loading…
Reference in a new issue