aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api/activity/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-03-24 20:21:43 +0300
committerGravatar Vitaly Takmazov2021-03-24 20:21:43 +0300
commit44411d8ecea4e8676dd2d4d0237c9cd4fd2ec981 (patch)
treea965811cb5ebd6359e65dd9c9b9cc8140e6b976c /src/main/java/com/juick/www/api/activity/model
parent7f6aa658c287308ebc1ac578e663d2aea5ab1db7 (diff)
ActivityPub: add workaround for Nextcloud Service
Remove when their fix will be merged - https://github.com/nextcloud/social/pull/1230
Diffstat (limited to 'src/main/java/com/juick/www/api/activity/model')
-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 217d2dc1..f41aa69c 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
@@ -91,6 +91,7 @@ public abstract class Context {
public final static String ACTIVITY_STREAMS_URI = "https://www.w3.org/ns/activitystreams";
public final static String SECURITY_URI = "https://w3id.org/security/v1";
public final static String LD_JSON_MEDIA_TYPE = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
+ public final static String FALLBACK_JSON_MEDIA_TYPE = "application/json; profile=\"https://www.w3.org/ns/activitystreams\"";
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_PUBLIC = "https://www.w3.org/ns/activitystreams#Public";