aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/formatters
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-21 12:20:56 +0300
committerGravatar Vitaly Takmazov2018-03-21 13:52:55 +0300
commit403fab0c39e99ffd0b386eb612f3574938ae2125 (patch)
tree47b99c53134468da50c6f766ebb16043fa984cfa /juick-common/src/main/java/com/juick/formatters
parentf066f48e4cabd0d7649af2e8c1f4b6a7dea56673 (diff)
add some events
Diffstat (limited to 'juick-common/src/main/java/com/juick/formatters')
-rw-r--r--juick-common/src/main/java/com/juick/formatters/PlainTextFormatter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/formatters/PlainTextFormatter.java b/juick-common/src/main/java/com/juick/formatters/PlainTextFormatter.java
index c599d33b..68799b83 100644
--- a/juick-common/src/main/java/com/juick/formatters/PlainTextFormatter.java
+++ b/juick-common/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 ? MessageUtils.getMarkdownUser(jmsg) : jmsg.getUser().getName()).append(":\n")
+ sb.append(title).append(markdown ? MessageUtils.getMarkdownUser(jmsg.getUser()) : jmsg.getUser().getName()).append(":\n")
.append(subtitle).append("\n");
if (markdown) {
sb.append(MessageUtils.escapeMarkdown(StringUtils.defaultString(jmsg.getText())));