aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-18 21:38:01 +0300
committerGravatar Vitaly Takmazov2018-06-18 21:38:01 +0300
commit08afd2fc05170f5f3240c3f383174ebd525d876f (patch)
tree4eb204b629e269d07835ca2526b3c088da8bea93 /juick-common/src/main/java/com/juick
parent095cbbffde0c73df0a9c1562e30a1d76436195d3 (diff)
api: recommendations list
Diffstat (limited to 'juick-common/src/main/java/com/juick')
-rw-r--r--juick-common/src/main/java/com/juick/Message.java10
1 files changed, 10 insertions, 0 deletions
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<Reaction> reactions;
private boolean service;
+ private Set<String> 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<String> getRecommendations() {
+ return recommendations;
+ }
+
+ public void setRecommendations(Set<String> recommendations) {
+ this.recommendations = recommendations;
+ }
}