From b24aa321523929c77b9c1b1cbc82c53dbb3df44c Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 17 Aug 2022 19:42:44 -0500 Subject: [PATCH] use MSC2716v4 room version Companion changes for https://github.com/matrix-org/synapse/pull/13551 --- tests/msc2716_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/msc2716_test.go b/tests/msc2716_test.go index cbf40684..ae3a29d4 100644 --- a/tests/msc2716_test.go +++ b/tests/msc2716_test.go @@ -44,20 +44,20 @@ var ( markerEventType = "org.matrix.msc2716.marker" historicalContentField = "org.matrix.msc2716.historical" - nextBatchIDContentField = "org.matrix.msc2716.next_batch_id" - markerInsertionContentField = "org.matrix.msc2716.marker.insertion" + nextBatchIDContentField = "next_batch_id" + markerInsertionContentField = "insertion_event_reference" ) var createPublicRoomOpts = map[string]interface{}{ "preset": "public_chat", "name": "the hangout spot", - "room_version": "org.matrix.msc2716v3", + "room_version": "org.matrix.msc2716v4", } var createPrivateRoomOpts = map[string]interface{}{ "preset": "private_chat", "name": "the hangout spot", - "room_version": "org.matrix.msc2716v3", + "room_version": "org.matrix.msc2716v4", } func TestImportHistoricalMessages(t *testing.T) {