Hot fix : makes room topic optional as it may be null.

This commit is contained in:
ganfra
2019-01-21 18:31:19 +01:00
parent c7c3a57c93
commit 32b29c47e7
2 changed files with 4 additions and 5 deletions

View File

@ -5,5 +5,5 @@ import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class RoomTopicContent(
@Json(name = "topic") val topic: String
@Json(name = "topic") val topic: String? = null
)