summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/appservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py
index dd860b2244..2b2761682f 100644
--- a/synapse/handlers/appservice.py
+++ b/synapse/handlers/appservice.py
@@ -56,7 +56,7 @@ class ApplicationServicesHandler(object):
         yield self.store.update_app_service(app_service)
 
         logger.info("Sending ping to %s...", app_service.url)
-        yield self.appservice_api.query_alias(app_service, "ping")
+        yield self.appservice_api.push(app_service, "pinger")
 
     def unregister(self, token):
         logger.info("Unregister as_token=%s", token)