From f3f32addcad1b1b05acbd18b7fad26a6459f290e Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 28 Aug 2014 10:43:18 +0100 Subject: Fix typo in NullSource.get_pagination_rows. Remove unused import. --- synapse/streams/events.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'synapse/streams') 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): -- cgit 1.4.1