summary refs log tree commit diff
path: root/synapse/handlers/appservice.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-02 17:39:41 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-02 17:39:41 +0000
commit1a2de0c5feb1183b35045bb7fb9e379a9598d1cb (patch)
treed1fcc3b2730b3fd41a27d36abebae820bf8b88e3 /synapse/handlers/appservice.py
parentActually merge into develop. (diff)
downloadsynapse-1a2de0c5feb1183b35045bb7fb9e379a9598d1cb.tar.xz
Implement txns for AS (un)registration.
Diffstat (limited to 'synapse/handlers/appservice.py')
-rw-r--r--synapse/handlers/appservice.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py
index 8bd475cbfd..da994ba8e0 100644
--- a/synapse/handlers/appservice.py
+++ b/synapse/handlers/appservice.py
@@ -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)