Skip to content

Commit 53024b2

Browse files
Use MSC2716v4 room version (#450)
Companion changes in Synapse matrix-org/synapse#13551
1 parent 083a711 commit 53024b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/msc2716_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ var (
4444
markerEventType = "org.matrix.msc2716.marker"
4545

4646
historicalContentField = "org.matrix.msc2716.historical"
47-
nextBatchIDContentField = "org.matrix.msc2716.next_batch_id"
48-
markerInsertionContentField = "org.matrix.msc2716.marker.insertion"
47+
nextBatchIDContentField = "next_batch_id"
48+
markerInsertionContentField = "insertion_event_reference"
4949
)
5050

5151
var createPublicRoomOpts = map[string]interface{}{
5252
"preset": "public_chat",
5353
"name": "the hangout spot",
54-
"room_version": "org.matrix.msc2716v3",
54+
"room_version": "org.matrix.msc2716v4",
5555
}
5656

5757
var createPrivateRoomOpts = map[string]interface{}{
5858
"preset": "private_chat",
5959
"name": "the hangout spot",
60-
"room_version": "org.matrix.msc2716v3",
60+
"room_version": "org.matrix.msc2716v4",
6161
}
6262

6363
func TestImportHistoricalMessages(t *testing.T) {

0 commit comments

Comments
 (0)