diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-28 10:43:18 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-28 10:57:53 +0100 |
commit | f3f32addcad1b1b05acbd18b7fad26a6459f290e (patch) | |
tree | 8465e65e5641aa6333695153cb2fcad73f5f3217 /synapse/streams | |
parent | Start the events stream once the app starts (if credentials are in cache) or ... (diff) | |
download | synapse-f3f32addcad1b1b05acbd18b7fad26a6459f290e.tar.xz |
Fix typo in NullSource.get_pagination_rows. Remove unused import.
Diffstat (limited to 'synapse/streams')
-rw-r--r-- | synapse/streams/events.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/streams/events.py b/synapse/streams/events.py index eaa397c650..c68cf1a59c 100644 --- a/synapse/streams/events.py +++ b/synapse/streams/events.py @@ -15,7 +15,6 @@ from twisted.internet import defer -from synapse.api.constants import Membership from synapse.types import StreamToken @@ -32,7 +31,7 @@ class NullSource(object): return defer.succeed(0) def get_pagination_rows(self, user, pagination_config, key): - return defer.succeed(([], from_token)) + return defer.succeed(([], pagination_config.from_token)) class RoomEventSource(object): |