Fix typo in NullSource.get_pagination_rows. Remove unused import.

paul/schema_breaking_changes
Erik Johnston 2014-08-28 10:43:18 +01:00
parent 6ac298f2f1
commit f3f32addca
1 changed files with 1 additions and 2 deletions

View File

@ -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):