mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Implement txns for AS (un)registration.
This commit is contained in:
parent
a006d168c5
commit
1a2de0c5fe
3 changed files with 102 additions and 23 deletions
|
@ -43,7 +43,8 @@ class ApplicationServicesHandler(BaseHandler):
|
|||
"Consult the home server admin.",
|
||||
errcode=Codes.FORBIDDEN
|
||||
)
|
||||
# TODO store this AS
|
||||
logger.info("Updating application service info...")
|
||||
yield self.store.update_app_service(app_service)
|
||||
|
||||
def unregister(self, token):
|
||||
logger.info("Unregister as_token=%s", token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue