diff --git a/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/CommunityMarketplaceAddonService.java b/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/CommunityMarketplaceAddonService.java index df59128888..129b19272b 100644 --- a/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/CommunityMarketplaceAddonService.java +++ b/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/CommunityMarketplaceAddonService.java @@ -434,7 +434,7 @@ public class CommunityMarketplaceAddonService implements AddonService { .anyMatch(handler -> handler.supports(type, contentType) && handler.isInstalled(id)); return Addon.create(id).withType(type).withContentType(contentType).withLabel(topic.title) - .withLink(COMMUNITY_TOPIC_URL + topic.id.toString()) + .withImageLink(topic.image_url).withLink(COMMUNITY_TOPIC_URL + topic.id.toString()) .withAuthor(topic.post_stream.posts[0].display_username).withMaturity(maturity) .withDetailedDescription(detailedDescription).withInstalled(installed).withProperties(properties) .build(); diff --git a/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/model/DiscourseTopicResponseDTO.java b/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/model/DiscourseTopicResponseDTO.java index 6062c842ba..3796a05f9c 100644 --- a/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/model/DiscourseTopicResponseDTO.java +++ b/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/model/DiscourseTopicResponseDTO.java @@ -27,6 +27,7 @@ public class DiscourseTopicResponseDTO { public String title; public Integer posts_count; + public String image_url; public Date created_at; public Date updated_at;