From b6a76493f1711ad42cc8543bc73ae70b3d75868e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 24 Dec 2022 08:15:43 +0300 Subject: ActivityPub: compatibility with Honk server --- src/main/java/com/juick/www/api/activity/model/Context.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/com/juick/www') diff --git a/src/main/java/com/juick/www/api/activity/model/Context.java b/src/main/java/com/juick/www/api/activity/model/Context.java index 1eb057a6..5a66b3b3 100644 --- a/src/main/java/com/juick/www/api/activity/model/Context.java +++ b/src/main/java/com/juick/www/api/activity/model/Context.java @@ -110,6 +110,7 @@ public class Context implements Serializable { this.published = published; } + @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY) public List getTo() { return to; } -- cgit v1.2.3