File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Register the MSC4306 endpoints in the CS API when the experimental feature is enabled.
Original file line number Diff line number Diff line change 6363 sync ,
6464 tags ,
6565 thirdparty ,
66+ thread_subscriptions ,
6667 tokenrefresh ,
6768 user_directory ,
6869 versions ,
122123 login_token_request .register_servlets ,
123124 rendezvous .register_servlets ,
124125 auth_metadata .register_servlets ,
126+ thread_subscriptions .register_servlets ,
125127)
126128
127129SERVLET_GROUPS : Dict [str , Iterable [RegisterServletsFunc ]] = {
Original file line number Diff line number Diff line change 11from http import HTTPStatus
2- from typing import Tuple
2+ from typing import TYPE_CHECKING , Tuple
33
44from synapse ._pydantic_compat import StrictBool
55from synapse .api .errors import Codes , NotFoundError , SynapseError
1010)
1111from synapse .http .site import SynapseRequest
1212from synapse .rest .client ._base import client_patterns
13- from synapse .server import HomeServer
1413from synapse .types import JsonDict , RoomID
1514from synapse .types .rest import RequestBodyModel
1615
16+ if TYPE_CHECKING :
17+ from synapse .server import HomeServer
18+
1719
1820class ThreadSubscriptionsRestServlet (RestServlet ):
1921 PATTERNS = client_patterns (
You can’t perform that action at this time.
0 commit comments