From e882914b29f384d3f530865737cc7de3790e5b0e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 6 Oct 2018 23:39:10 +0300 Subject: HTML replies --- juick-common/src/main/java/com/juick/Message.java | 9 +++++++++ juick-common/src/main/java/com/juick/model/ResponseReply.java | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'juick-common/src/main/java') 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 reactions; private boolean service; private URI replyUri; + private boolean html; private Set 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; + } } -- cgit v1.2.3