diff --git a/core/network/src/main/kotlin/app/pachli/core/network/model/Announcement.kt b/core/network/src/main/kotlin/app/pachli/core/network/model/Announcement.kt index c521f4cfc..210b2e158 100644 --- a/core/network/src/main/kotlin/app/pachli/core/network/model/Announcement.kt +++ b/core/network/src/main/kotlin/app/pachli/core/network/model/Announcement.kt @@ -31,7 +31,7 @@ data class Announcement( @Json(name = "updated_at") val updatedAt: Date, val read: Boolean, val mentions: List, - val statuses: List, + val statuses: List, val tags: List, val emojis: List, val reactions: List, @@ -57,4 +57,10 @@ data class Announcement( val url: String?, @Json(name = "static_url") val staticUrl: String?, ) + + @JsonClass(generateAdapter = true) + data class AnnouncementStatus( + val id: String, + val url: String, + ) }