Add default value (fix test compilation issue)

This commit is contained in:
Benoit Marty 2019-12-05 09:26:14 +01:00
parent 6d82ac7c59
commit 2f26f4b8bb
1 changed files with 1 additions and 1 deletions

View File

@ -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,