aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-06 23:39:10 +0300
committerGravatar Vitaly Takmazov2018-10-06 23:39:10 +0300
commite882914b29f384d3f530865737cc7de3790e5b0e (patch)
treeb87b0a1055903084882bae4c8eedfbd554687105 /juick-common/src/main/java/com
parent0b065e1e0547885294d03df54d178587d801a15a (diff)
HTML replies
Diffstat (limited to 'juick-common/src/main/java/com')
-rw-r--r--juick-common/src/main/java/com/juick/Message.java9
-rw-r--r--juick-common/src/main/java/com/juick/model/ResponseReply.java9
2 files changed, 18 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 de419b9b..a5efb05c 100644
--- a/juick-common/src/main/java/com/juick/Message.java
+++ b/juick-common/src/main/java/com/juick/Message.java
@@ -77,6 +77,7 @@ public class Message implements Comparable {
private Set<Reaction> reactions;
private boolean service;
private URI replyUri;
+ private boolean html;
private Set<String> recommendations;
@@ -357,4 +358,12 @@ public class Message implements Comparable {
public void setReplyUri(URI replyUri) {
this.replyUri = replyUri;
}
+
+ public boolean isHtml() {
+ return html;
+ }
+
+ public void setHtml(boolean html) {
+ this.html = html;
+ }
}
diff --git a/juick-common/src/main/java/com/juick/model/ResponseReply.java b/juick-common/src/main/java/com/juick/model/ResponseReply.java
index acc5db71..183c6f72 100644
--- a/juick-common/src/main/java/com/juick/model/ResponseReply.java
+++ b/juick-common/src/main/java/com/juick/model/ResponseReply.java
@@ -30,6 +30,7 @@ public class ResponseReply {
private String description;
private Date pubDate;
private String attachmentType;
+ private boolean html;
public String getMuname() {
return muname;
@@ -86,4 +87,12 @@ public class ResponseReply {
public void setAttachmentType(String attachmentType) {
this.attachmentType = attachmentType;
}
+
+ public boolean isHtml() {
+ return html;
+ }
+
+ public void setHtml(boolean html) {
+ this.html = html;
+ }
}