From 08afd2fc05170f5f3240c3f383174ebd525d876f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 18 Jun 2018 21:38:01 +0300 Subject: api: recommendations list --- juick-common/src/main/java/com/juick/Message.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'juick-common/src/main/java/com') diff --git a/juick-common/src/main/java/com/juick/Message.java b/juick-common/src/main/java/com/juick/Message.java index 7e03fc8e..3800f466 100644 --- a/juick-common/src/main/java/com/juick/Message.java +++ b/juick-common/src/main/java/com/juick/Message.java @@ -75,6 +75,8 @@ public class Message implements Comparable { private Set reactions; private boolean service; + private Set recommendations; + public Message() { tags = new ArrayList<>(); reactions = new HashSet<>(); @@ -319,4 +321,12 @@ public class Message implements Comparable { public void setService(boolean service) { this.service = service; } + + public Set getRecommendations() { + return recommendations; + } + + public void setRecommendations(Set recommendations) { + this.recommendations = recommendations; + } } -- cgit v1.2.3