mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 19:05:56 +03:00
Use unstable prefixes
This commit is contained in:
parent
552fb9de9a
commit
1863e4c3ef
3 changed files with 6 additions and 4 deletions
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue