diff options
author | David Robertson <davidr@element.io> | 2022-12-12 16:19:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 16:19:30 +0000 |
commit | b5b5f6608462a988b05502a3b70b6a57ca3846d2 (patch) | |
tree | a0f095dda26f6ebeff9fc8867a7d6f3ca608a377 /synapse/handlers/message.py | |
parent | Revert the deletion of stale devices due to performance issues. (#14662) (diff) | |
download | synapse-b5b5f6608462a988b05502a3b70b6a57ca3846d2.tar.xz |
Move `StateFilter` to `synapse.types` (#14668)
* Move `StateFilter` to `synapse.types` * Changelog
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 5cbe89f4fd..d6e90ef259 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -59,7 +59,6 @@ from synapse.replication.http.send_event import ReplicationSendEventRestServlet from synapse.replication.http.send_events import ReplicationSendEventsRestServlet from synapse.storage.databases.main.events import PartialStateConflictError from synapse.storage.databases.main.events_worker import EventRedactBehaviour -from synapse.storage.state import StateFilter from synapse.types import ( MutableStateMap, PersistedEventPosition, @@ -70,6 +69,7 @@ from synapse.types import ( UserID, create_requester, ) +from synapse.types.state import StateFilter from synapse.util import json_decoder, json_encoder, log_failure, unwrapFirstError from synapse.util.async_helpers import Linearizer, gather_results from synapse.util.caches.expiringcache import ExpiringCache |