summary refs log tree commit diff
path: root/synapse/streams/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-28 10:43:18 +0100
committerErik Johnston <erik@matrix.org>2014-08-28 10:57:53 +0100
commitf3f32addcad1b1b05acbd18b7fad26a6459f290e (patch)
tree8465e65e5641aa6333695153cb2fcad73f5f3217 /synapse/streams/events.py
parentStart the events stream once the app starts (if credentials are in cache) or ... (diff)
downloadsynapse-f3f32addcad1b1b05acbd18b7fad26a6459f290e.tar.xz
Fix typo in NullSource.get_pagination_rows. Remove unused import.
Diffstat (limited to 'synapse/streams/events.py')
-rw-r--r--synapse/streams/events.py3
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):