Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
5728 commits behind the upstream repository.
  • Erik Johnston's avatar
    0f545e6b
    Clean up types for PaginationConfig (#8250) · 0f545e6b
    Erik Johnston authored
    This removes `SourcePaginationConfig` and `get_pagination_rows`. The reasoning behind this is that these generic classes/functions erased the types of the IDs it used (i.e. instead of passing around `StreamToken` it'd pass in e.g. `token.room_key`, which don't have uniform types).
    Clean up types for PaginationConfig (#8250)
    Erik Johnston authored
    This removes `SourcePaginationConfig` and `get_pagination_rows`. The reasoning behind this is that these generic classes/functions erased the types of the IDs it used (i.e. instead of passing around `StreamToken` it'd pass in e.g. `token.room_key`, which don't have uniform types).