summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-09-22 18:19:49 +0100
committerMark Haines <mark.haines@matrix.org>2015-09-22 18:19:49 +0100
commita247729806a1cf7093b3c0819094338bf22affa8 (patch)
treef0d542da52d7d8bc089cfa319999494cb06643ae /synapse
parentsynapse/api/errors.py:RoomError was unused (diff)
downloadsynapse-a247729806a1cf7093b3c0819094338bf22affa8.tar.xz
synapse/streams/events.py:StreamSource was unused
Diffstat (limited to '')
-rw-r--r--synapse/streams/events.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/synapse/streams/events.py b/synapse/streams/events.py
index aaa3609aa5..8671a8fa4e 100644
--- a/synapse/streams/events.py
+++ b/synapse/streams/events.py
@@ -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")