summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-08-07 12:51:57 +0100
committerRichard van der Hoff <richard@matrix.org>2018-08-07 12:51:57 +0100
commit3523f5432a79659ac365dc2ff1212aa1a3707d8e (patch)
treef9ebabf34898e8efd9def19c3980e6aa8ae9c279 /synapse/api/constants.py
parentchangelog (diff)
downloadsynapse-3523f5432a79659ac365dc2ff1212aa1a3707d8e.tar.xz
Don't expose default_room_version as config opt
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index a27bf3b32d..b0da506f6d 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -97,6 +97,9 @@ class ThirdPartyEntityKind(object):
     LOCATION = "location"
 
 
+# the version we will give rooms which are created on this server
+DEFAULT_ROOM_VERSION = "1"
+
 # vdh-test-version is a placeholder to get room versioning support working and tested
 # until we have a working v2.
 KNOWN_ROOM_VERSIONS = {"1", "vdh-test-version"}