aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api/activity
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-24 08:15:43 +0300
committerGravatar Vitaly Takmazov2022-12-24 08:15:43 +0300
commitb6a76493f1711ad42cc8543bc73ae70b3d75868e (patch)
tree61ff105aecb0bb240b8d44949f4828b1e345ae21 /src/main/java/com/juick/www/api/activity
parent0ab02be35b4f83a10c1d586c7e069b9e1dc4c075 (diff)
ActivityPub: compatibility with Honk server
Diffstat (limited to 'src/main/java/com/juick/www/api/activity')
-rw-r--r--src/main/java/com/juick/www/api/activity/model/Context.java1
1 files changed, 1 insertions, 0 deletions
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<String> getTo() {
return to;
}