summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2020-10-01 14:25:03 +0100
committerWill Hunt <will@half-shot.uk>2020-10-01 14:25:03 +0100
commit5cd99e8b5e657dd7bc485cc79f039d68d2b57fd2 (patch)
treedf0601373ff5cdce388fd030e99dfa201bd6aed2 /synapse
parentAdd stream ids for rr and presence to schema (diff)
downloadsynapse-5cd99e8b5e657dd7bc485cc79f039d68d2b57fd2.tar.xz
Use the MSC prefix
Diffstat (limited to 'synapse')
-rw-r--r--synapse/appservice/api.py2
-rw-r--r--synapse/config/appservice.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py
index 361d2b105c..6d0038ddd1 100644
--- a/synapse/appservice/api.py
+++ b/synapse/appservice/api.py
@@ -217,7 +217,7 @@ class ApplicationServiceApi(SimpleHttpClient):
         uri = service.url + ("/transactions/%s" % urllib.parse.quote(txn_id))
         body = {"events": events}
         if ephemeral:
-            body["uk.half-shot.appservice.ephemeral"] = ephemeral
+            body["de.sorunome.msc2409.ephemeral"] = ephemeral
         try:
             await self.put_json(
                 uri=uri, json_body=body, args={"access_token": service.hs_token},
diff --git a/synapse/config/appservice.py b/synapse/config/appservice.py
index 013cd0fd96..746fc3cc02 100644
--- a/synapse/config/appservice.py
+++ b/synapse/config/appservice.py
@@ -160,7 +160,7 @@ def _load_appservice(hostname, as_info, config_filename):
     if as_info.get("ip_range_whitelist"):
         ip_range_whitelist = IPSet(as_info.get("ip_range_whitelist"))
 
-    supports_ephemeral = as_info.get("uk.half-shot.appservice.push_ephemeral", False)
+    supports_ephemeral = as_info.get("de.sorunome.msc2409.push_ephemeral", False)
 
     return ApplicationService(
         token=as_info["as_token"],