Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
c5a0f82c
Commit
c5a0f82c
authored
6 years ago
by
Neil Johnson
Browse files
Options
Downloads
Patches
Plain Diff
define room dispositions for use in exposing room capabilities
parent
9c850d9d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/api/constants.py
+5
-0
5 additions, 0 deletions
synapse/api/constants.py
with
5 additions
and
0 deletions
synapse/api/constants.py
+
5
−
0
View file @
c5a0f82c
...
@@ -109,6 +109,11 @@ class RoomVersions(object):
...
@@ -109,6 +109,11 @@ class RoomVersions(object):
STATE_V2_TEST
=
"
state-v2-test
"
STATE_V2_TEST
=
"
state-v2-test
"
class
RoomDisposition
(
object
):
STABLE
=
"
stable
"
,
UNSTABLE
=
"
unstable
"
# the version we will give rooms which are created on this server
# the version we will give rooms which are created on this server
DEFAULT_ROOM_VERSION
=
RoomVersions
.
V1
DEFAULT_ROOM_VERSION
=
RoomVersions
.
V1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment