diff options
author | Will Hunt <will@half-shot.uk> | 2020-10-01 14:25:03 +0100 |
---|---|---|
committer | Will Hunt <will@half-shot.uk> | 2020-10-01 14:25:03 +0100 |
commit | 5cd99e8b5e657dd7bc485cc79f039d68d2b57fd2 (patch) | |
tree | df0601373ff5cdce388fd030e99dfa201bd6aed2 /synapse | |
parent | Add stream ids for rr and presence to schema (diff) | |
download | synapse-5cd99e8b5e657dd7bc485cc79f039d68d2b57fd2.tar.xz |
Use the MSC prefix
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/appservice/api.py | 2 | ||||
-rw-r--r-- | synapse/config/appservice.py | 2 |
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"], |