Skip to content

Commit

Permalink
Use MSC2716v4 room version (#450)
Browse files Browse the repository at this point in the history
Companion changes in Synapse matrix-org/synapse#13551
  • Loading branch information
MadLittleMods authored Aug 19, 2022
1 parent 083a711 commit 53024b2
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 53024b2

Please sign in to comment.