diff options
author | Vitaly Takmazov | 2018-10-07 21:22:57 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-10-07 21:22:57 +0300 |
commit | 5e3bb9067b3052c0805b7b1d59215f2bd4b73905 (patch) | |
tree | 7f38ae9874dee87ec175eebe4762f6e8e7a7807e /juick-server/src/main/java/com/juick/server/api/activity/model | |
parent | ae2b7552bda919e7eb505139eb417656ae2568a1 (diff) |
ActivityPub: Block activity
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/activity/model/Context.java | 1 | ||||
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/activity/model/activities/Block.java | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/Context.java b/juick-server/src/main/java/com/juick/server/api/activity/model/Context.java index 2bc499aa..64779b51 100644 --- a/juick-server/src/main/java/com/juick/server/api/activity/model/Context.java +++ b/juick-server/src/main/java/com/juick/server/api/activity/model/Context.java @@ -19,6 +19,7 @@ import java.util.List; @JsonSubTypes.Type(value = Accept.class, name = "Accept"), @JsonSubTypes.Type(value = Undo.class, name = "Undo"), @JsonSubTypes.Type(value = Like.class, name = "Like"), + @JsonSubTypes.Type(value = Block.class, name = "Block"), @JsonSubTypes.Type(value = Activity.class, name = "Activity"), @JsonSubTypes.Type(value = Image.class, name = "Image"), @JsonSubTypes.Type(value = Key.class, name = "Key"), diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/activities/Block.java b/juick-server/src/main/java/com/juick/server/api/activity/model/activities/Block.java new file mode 100644 index 00000000..0e5a02d4 --- /dev/null +++ b/juick-server/src/main/java/com/juick/server/api/activity/model/activities/Block.java @@ -0,0 +1,6 @@ +package com.juick.server.api.activity.model.activities; + +import com.juick.server.api.activity.model.Activity; + +public class Block extends Activity { +} |