mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-08 00:45:04 -04:00
Construct a source-specific 'SourcePaginationConfig' to pass into get_pagination_rows; meaning each source doesn't have to care about its own name any more
This commit is contained in:
parent
c5a25f610a
commit
d6bcffa929
6 changed files with 43 additions and 40 deletions
|
@ -158,4 +158,4 @@ class TypingNotificationEventSource(object):
|
|||
return 0
|
||||
|
||||
def get_pagination_rows(self, user, pagination_config, key):
|
||||
return ([], pagination_config.from_token)
|
||||
return ([], pagination_config.from_key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue