Skip to content
Snippets Groups Projects
Commit f3f32add authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix typo in NullSource.get_pagination_rows. Remove unused import.

parent 6ac298f2
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment