summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-08-19 15:37:01 -0500
committerGitHub <noreply@github.com>2022-08-19 15:37:01 -0500
commit06df5d4250f54d5a95b0c90bfc9352ec6f02c520 (patch)
tree74787f1930fe8d12f5a419b2ace1468cf84e04d9 /synapse/api/constants.py
parentImplement MSC3852: Expose `last_seen_user_agent` to users for their own devic... (diff)
downloadsynapse-06df5d4250f54d5a95b0c90bfc9352ec6f02c520.tar.xz
MSC2716v4 room version - remove namespace from MSC2716 event content fields (#13551)
Complement PR: https://github.com/matrix-org/complement/pull/450

As suggested in
https://github.com/matrix-org/matrix-spec-proposals/pull/2716#discussion_r941444525
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 1d46fb0e43..c73aea622a 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -216,11 +216,11 @@ class EventContentFields: MSC2716_HISTORICAL: Final = "org.matrix.msc2716.historical" # For "insertion" events to indicate what the next batch ID should be in # order to connect to it - MSC2716_NEXT_BATCH_ID: Final = "org.matrix.msc2716.next_batch_id" + MSC2716_NEXT_BATCH_ID: Final = "next_batch_id" # Used on "batch" events to indicate which insertion event it connects to - MSC2716_BATCH_ID: Final = "org.matrix.msc2716.batch_id" + MSC2716_BATCH_ID: Final = "batch_id" # For "marker" events - MSC2716_MARKER_INSERTION: Final = "org.matrix.msc2716.marker.insertion" + MSC2716_INSERTION_EVENT_REFERENCE: Final = "insertion_event_reference" # The authorising user for joining a restricted room. AUTHORISING_USER: Final = "join_authorised_via_users_server"