aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-19 20:30:23 +0300
committerGravatar Vitaly Takmazov2023-01-19 20:30:23 +0300
commit1391dca75899c9260e6248b4d4bb2446e9d926ba (patch)
tree15aff199d79b8f02fc7df482ac42f9f1a2544363 /src/main/java/com/juick/www/api
parente379e33fef1fcdd6e210b079c504253120647ea5 (diff)
ActivityPub: using correct ActivityStreams profile header
Diffstat (limited to 'src/main/java/com/juick/www/api')
-rw-r--r--src/main/java/com/juick/www/api/activity/model/Context.java2
1 files changed, 1 insertions, 1 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 950c8f63..77c1fdcb 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
@@ -98,7 +98,7 @@ public class Context implements Serializable {
public final static String SECURITY_URI = "https://w3id.org/security/v1";
public final static String LD_JSON_MEDIA_TYPE = "application/ld+json";
public final static String ACTIVITY_MEDIA_TYPE = "application/activity+json";
- public final static String ACTIVITYSTREAMS_PROFILE_MEDIA_TYPE = ACTIVITY_MEDIA_TYPE + "; profile=\"https://www.w3.org/ns/activitystreams\"";
+ public final static String ACTIVITYSTREAMS_PROFILE_MEDIA_TYPE = LD_JSON_MEDIA_TYPE + "; profile=\"https://www.w3.org/ns/activitystreams\"";
public final static String ACTIVITYSTREAMS_PUBLIC = "https://www.w3.org/ns/activitystreams#Public";
public Instant getPublished() {