mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 18:15:02 -04:00
Implement account status endpoints (MSC3720) (#12001)
See matrix-org/matrix-doc#3720 Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
This commit is contained in:
parent
94a396e7c4
commit
250104d357
11 changed files with 511 additions and 6 deletions
|
@ -62,6 +62,7 @@ from synapse.federation.sender import AbstractFederationSender, FederationSender
|
|||
from synapse.federation.transport.client import TransportLayerClient
|
||||
from synapse.groups.attestations import GroupAttestationSigning, GroupAttestionRenewer
|
||||
from synapse.groups.groups_server import GroupsServerHandler, GroupsServerWorkerHandler
|
||||
from synapse.handlers.account import AccountHandler
|
||||
from synapse.handlers.account_data import AccountDataHandler
|
||||
from synapse.handlers.account_validity import AccountValidityHandler
|
||||
from synapse.handlers.admin import AdminHandler
|
||||
|
@ -807,6 +808,10 @@ class HomeServer(metaclass=abc.ABCMeta):
|
|||
def get_external_cache(self) -> ExternalCache:
|
||||
return ExternalCache(self)
|
||||
|
||||
@cache_in_self
|
||||
def get_account_handler(self) -> AccountHandler:
|
||||
return AccountHandler(self)
|
||||
|
||||
@cache_in_self
|
||||
def get_outbound_redis_connection(self) -> "RedisProtocol":
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue