Fix typo in NullSource.get_pagination_rows. Remove unused import.
This commit is contained in:
parent
6ac298f2f1
commit
f3f32addca
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue