mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Add missing @JsonClass(generateAdapter = false)
for Proguard
This commit is contained in:
parent
6e020cada2
commit
85f713c8c7
2 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue