From 56bbcf209f9debccd75a481166dc9949daf52d9f Mon Sep 17 00:00:00 2001 From: ganfra Date: Mon, 5 Nov 2018 22:11:30 +0100 Subject: [PATCH] Add forgotten annotation for json --- .../internal/session/group/model/GroupSummaryRoomsSection.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/group/model/GroupSummaryRoomsSection.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/group/model/GroupSummaryRoomsSection.kt index 6800dfc0..7549da6b 100644 --- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/group/model/GroupSummaryRoomsSection.kt +++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/group/model/GroupSummaryRoomsSection.kt @@ -1,10 +1,12 @@ package im.vector.matrix.android.internal.session.group.model import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass /** * This class represents the community rooms in a group summary response. */ +@JsonClass(generateAdapter = true) data class GroupSummaryRoomsSection( @Json(name = "total_room_count_estimate") val totalRoomCountEstimate: Int? = null,