mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 14:29:23 -05:00
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
Block a user