Use unstable prefixes

This commit is contained in:
Hugh Nimmo-Smith 2022-10-17 16:34:51 +01:00
parent 552fb9de9a
commit 1863e4c3ef
3 changed files with 6 additions and 4 deletions

View file

@ -21,6 +21,6 @@ import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = false) @JsonClass(generateAdapter = false)
enum class Protocol(val value: String) { enum class Protocol(val value: String) {
@Json(name = "login_token") @Json(name = "org.matrix.msc3906.login_token")
LOGIN_TOKEN("login_token") LOGIN_TOKEN("org.matrix.msc3906.login_token")
} }

View file

@ -21,5 +21,6 @@ import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = false) @JsonClass(generateAdapter = false)
enum class RendezvousTransportType(val value: String) { enum class RendezvousTransportType(val value: String) {
@Json(name = "http.v1") MSC3886_SIMPLE_HTTP_V1("http.v1") @Json(name = "org.matrix.msc3886.http.v1")
MSC3886_SIMPLE_HTTP_V1("org.matrix.msc3886.http.v1")
} }

View file

@ -21,5 +21,6 @@ import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true) @JsonClass(generateAdapter = true)
enum class SecureRendezvousChannelAlgorithm(val value: String) { enum class SecureRendezvousChannelAlgorithm(val value: String) {
@Json(name = "m.rendezvous.v1.curve25519-aes-sha256") ECDH_V1("m.rendezvous.v1.curve25519-aes-sha256") @Json(name = "org.matrix.msc3903.rendezvous.v1.curve25519-aes-sha256")
ECDH_V1("org.matrix.msc3903.rendezvous.v1.curve25519-aes-sha256")
} }