Move the (unstable) dir parameter for /relations behind an experimental flag. (#12984)

MSC3715 defines this parameter, but the unstable version of it should be
behind an experimental flag.
This commit is contained in:
Patrick Cloke 2022-06-08 09:00:35 -04:00 committed by GitHub
parent 3c8f1290b8
commit dd2d66b0c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

View file

@ -84,3 +84,6 @@ class ExperimentalConfig(Config):
# MSC3772: A push rule for mutual relations.
self.msc3772_enabled: bool = experimental.get("msc3772_enabled", False)
# MSC3715: dir param on /relations.
self.msc3715_enabled: bool = experimental.get("msc3715_enabled", False)