diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-03-10 10:36:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 15:36:13 +0000 |
commit | ea27528b5d177dcfc5a4e38b463baeace916dc8e (patch) | |
tree | 4fc7ebe8c997256b8744de2f4f29c72f020b50c3 /synapse/api/constants.py | |
parent | Updates to the Room DAG concepts development document (#12179) (diff) | |
download | synapse-ea27528b5d177dcfc5a4e38b463baeace916dc8e.tar.xz |
Support stable identifiers for MSC3440: Threading (#12151)
The unstable identifiers are still supported if the experimental configuration flag is enabled. The unstable identifiers will be removed in a future release.
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 36ace7c613..b0c08a074d 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -178,7 +178,9 @@ class RelationTypes: ANNOTATION: Final = "m.annotation" REPLACE: Final = "m.replace" REFERENCE: Final = "m.reference" - THREAD: Final = "io.element.thread" + THREAD: Final = "m.thread" + # TODO Remove this in Synapse >= v1.57.0. + UNSTABLE_THREAD: Final = "io.element.thread" class LimitBlockingTypes: |