diff options
author | Vitaly Takmazov | 2018-10-06 23:39:10 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-10-06 23:39:10 +0300 |
commit | e882914b29f384d3f530865737cc7de3790e5b0e (patch) | |
tree | b87b0a1055903084882bae4c8eedfbd554687105 /juick-common/src | |
parent | 0b065e1e0547885294d03df54d178587d801a15a (diff) |
HTML replies
Diffstat (limited to 'juick-common/src')
-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 de419b9be..a5efb05c4 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 acc5db71e..183c6f72f 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; + } } |