Add default value (fix test compilation issue)
This commit is contained in:
parent
6d82ac7c59
commit
2f26f4b8bb
|
@ -26,7 +26,7 @@ import im.vector.matrix.android.api.session.events.model.UnsignedData
|
|||
@JsonClass(generateAdapter = true)
|
||||
data class RoomMember(
|
||||
@Json(name = "membership") val membership: Membership,
|
||||
@Json(name = "reason") val reason: String?,
|
||||
@Json(name = "reason") val reason: String? = null,
|
||||
@Json(name = "displayname") val displayName: String? = null,
|
||||
@Json(name = "avatar_url") val avatarUrl: String? = null,
|
||||
@Json(name = "is_direct") val isDirect: Boolean = false,
|
||||
|
|
Loading…
Reference in New Issue