diff options
author | 2018-03-13 17:51:25 +0300 | |
---|---|---|
committer | 2018-03-13 17:52:20 +0300 | |
commit | 99ca546b78f6e87fa3f9dd263bd36081e9d92f1a (patch) | |
tree | 02c25d2ead2fdf7f683a815e2f9b0b9a549069cb /juick-core/src/main/java/com/juick/formatters | |
parent | 4889ccb2b6bf5708d2555698c58f672dc3479d07 (diff) |
server: refactoring
Diffstat (limited to 'juick-core/src/main/java/com/juick/formatters')
-rw-r--r-- | juick-core/src/main/java/com/juick/formatters/PlainTextFormatter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-core/src/main/java/com/juick/formatters/PlainTextFormatter.java b/juick-core/src/main/java/com/juick/formatters/PlainTextFormatter.java index 4e95e6c2..c599d33b 100644 --- a/juick-core/src/main/java/com/juick/formatters/PlainTextFormatter.java +++ b/juick-core/src/main/java/com/juick/formatters/PlainTextFormatter.java @@ -42,7 +42,7 @@ public class PlainTextFormatter { String subtitle = isReply ? markdown ? MessageUtils.escapeMarkdown(StringUtils.defaultString(jmsg.getReplyQuote())) : jmsg.getReplyQuote() : markdown ? MessageUtils.getMarkdownTags(jmsg) : MessageUtils.getTagsString(jmsg); - sb.append(title).append(markdown ? String.format("[%s](https://juick.com/%s/)", jmsg.getUser().getName(), jmsg.getUser().getName()) : jmsg.getUser().getName()).append(":\n") + sb.append(title).append(markdown ? MessageUtils.getMarkdownUser(jmsg) : jmsg.getUser().getName()).append(":\n") .append(subtitle).append("\n"); if (markdown) { sb.append(MessageUtils.escapeMarkdown(StringUtils.defaultString(jmsg.getText()))); |