aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/formatters
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-02-07 11:03:02 +0300
committerGravatar Vitaly Takmazov2020-02-07 11:03:02 +0300
commitaed0f12fe3c2c9daed5fe281a5ab28ced9ac5db5 (patch)
tree9b59ad075728dda074ba1f782a93c360169db88e /src/main/java/com/juick/formatters
parent6fbe53de47e0301e563a83f775ca6a78eed78fc4 (diff)
Send plaintext hashtags to Durov
Diffstat (limited to 'src/main/java/com/juick/formatters')
-rw-r--r--src/main/java/com/juick/formatters/PlainTextFormatter.java2
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) {