Move StateFilter to synapse.types (#14668)

* Move `StateFilter` to `synapse.types`

* Changelog
This commit is contained in:
David Robertson 2022-12-12 16:19:30 +00:00 committed by GitHub
parent 74b89c2761
commit b5b5f66084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 25 additions and 24 deletions

View file

@ -62,7 +62,6 @@ from synapse.events.utils import copy_and_fixup_power_levels_contents
from synapse.handlers.relations import BundledAggregations
from synapse.module_api import NOT_SPAM
from synapse.rest.admin._base import assert_user_is_admin
from synapse.storage.state import StateFilter
from synapse.streams import EventSource
from synapse.types import (
JsonDict,
@ -77,6 +76,7 @@ from synapse.types import (
UserID,
create_requester,
)
from synapse.types.state import StateFilter
from synapse.util import stringutils
from synapse.util.caches.response_cache import ResponseCache
from synapse.util.stringutils import parse_and_validate_server_name