Add missing @JsonClass(generateAdapter = false) for Proguard

This commit is contained in:
Benoit Marty 2020-06-27 11:52:47 +02:00
parent 6e020cada2
commit 85f713c8c7
2 changed files with 3 additions and 0 deletions

View file

@ -40,6 +40,7 @@ data class CallHangupContent(
*/
@Json(name = "reason") val reason: Reason? = null
) {
@JsonClass(generateAdapter = false)
enum class Reason {
@Json(name = "ice_failed")
ICE_FAILED,

View file

@ -17,7 +17,9 @@
package im.vector.matrix.android.api.session.room.model.call
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = false)
enum class SdpType {
@Json(name = "offer")
OFFER,