diff options
author | Vitaly Takmazov | 2020-02-07 11:03:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-02-07 11:03:02 +0300 |
commit | aed0f12fe3c2c9daed5fe281a5ab28ced9ac5db5 (patch) | |
tree | 9b59ad075728dda074ba1f782a93c360169db88e /src/main/java/com/juick | |
parent | 6fbe53de47e0301e563a83f775ca6a78eed78fc4 (diff) |
Send plaintext hashtags to Durov
Diffstat (limited to 'src/main/java/com/juick')
-rw-r--r-- | src/main/java/com/juick/formatters/PlainTextFormatter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/formatters/PlainTextFormatter.java b/src/main/java/com/juick/formatters/PlainTextFormatter.java index 30bad82c..1d5299c9 100644 --- a/src/main/java/com/juick/formatters/PlainTextFormatter.java +++ b/src/main/java/com/juick/formatters/PlainTextFormatter.java @@ -40,7 +40,7 @@ public class PlainTextFormatter { String title = MessageUtils.isReply(jmsg) ? "Reply by @" : MessageUtils.isPM(jmsg) ? "Private message from @" : "@"; String subtitle = MessageUtils.isReply(jmsg) ? markdown ? MessageUtils.escapeMarkdown(StringUtils.defaultString(jmsg.getReplyQuote())) : jmsg.getReplyQuote() - : markdown ? MessageUtils.getMarkdownTags(jmsg) : MessageUtils.getTagsString(jmsg); + : markdown ? MessageUtils.getMessageHashTags(jmsg) : MessageUtils.getTagsString(jmsg); sb.append(title).append(markdown ? MessageUtils.getMarkdownUser(jmsg.getUser()) : jmsg.getUser().getName()).append(":\n") .append(subtitle).append("\n"); if (markdown) { |