diff options
-rw-r--r-- | src/main/java/com/juick/server/api/activity/model/Context.java | 1 | ||||
-rw-r--r-- | src/main/java/com/juick/server/api/activity/model/objects/Emoji.java | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/juick/server/api/activity/model/Context.java b/src/main/java/com/juick/server/api/activity/model/Context.java index 0df8f8c7..515ee3da 100644 --- a/src/main/java/com/juick/server/api/activity/model/Context.java +++ b/src/main/java/com/juick/server/api/activity/model/Context.java @@ -30,6 +30,7 @@ import java.util.List; @JsonSubTypes.Type(value = Link.class, name = "Link"), @JsonSubTypes.Type(value = Hashtag.class, name = "Hashtag"), @JsonSubTypes.Type(value = Mention.class, name = "Mention"), + @JsonSubTypes.Type(value = Emoji.class, name = "Emoji"), @JsonSubTypes.Type(value = Note.class, name = "Note"), @JsonSubTypes.Type(value = OrderedCollection.class, name = "OrderedCollection"), @JsonSubTypes.Type(value = OrderedCollectionPage.class, name = "OrderedCollectionPage"), diff --git a/src/main/java/com/juick/server/api/activity/model/objects/Emoji.java b/src/main/java/com/juick/server/api/activity/model/objects/Emoji.java new file mode 100644 index 00000000..1200b70a --- /dev/null +++ b/src/main/java/com/juick/server/api/activity/model/objects/Emoji.java @@ -0,0 +1,6 @@ +package com.juick.server.api.activity.model.objects; + +import com.juick.server.api.activity.model.Context; + +public class Emoji extends Context { +} |