Skip to content

Commit

Permalink
use MSC2716v4 room version
Browse files Browse the repository at this point in the history
Companion changes for matrix-org/synapse#13551
  • Loading branch information
MadLittleMods committed Aug 18, 2022
1 parent 33b97e7 commit b24aa32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/msc2716_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b24aa32

Please sign in to comment.