diff options
Diffstat (limited to 'juick-common/src/main/java')
-rw-r--r-- | juick-common/src/main/java/com/juick/Message.java | 9 | ||||
-rw-r--r-- | juick-common/src/main/java/com/juick/model/ResponseReply.java | 9 |
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; + } } |