diff options
author | 2018-01-27 18:20:06 +0300 | |
---|---|---|
committer | 2018-01-27 18:20:06 +0300 | |
commit | f4c94626e3ede2cc68647421ad691bc6cd59e47d (patch) | |
tree | fa363b150818a756335f2963f7019432ed9e5ac0 /juick-core | |
parent | 3e4991f94520a98f7c719437396163a8d199f319 (diff) |
xmpp: formatPostSummary fixes
Diffstat (limited to 'juick-core')
-rw-r--r-- | juick-core/src/main/java/com/juick/formatters/PlainTextFormatter.java | 4 |
1 files changed, 2 insertions, 2 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 6395cfa8..f41e9ccc 100644 --- a/juick-core/src/main/java/com/juick/formatters/PlainTextFormatter.java +++ b/juick-core/src/main/java/com/juick/formatters/PlainTextFormatter.java @@ -74,8 +74,8 @@ public class PlainTextFormatter { : String.format("; %d replies", m.getReplies()); String txt = StringUtils.defaultString(m.getText()).length() >= cropLength ? StringUtils.substring(StringUtils.defaultString(m.getText()), 0, cropLength) + " [...]" : m.getText(); - return String.format("@%s:%s\n%s\n#%d (%s%s) http://juick.com/%d", - m.getUser().getName(), m.getTagsString(), txt, m.getMid(), timeAgo, repliesCount, m.getMid()); + return String.format("@%s:%s\n%s\n#%d (%s%s) %s", + m.getUser().getName(), m.getTagsString(), txt, m.getMid(), timeAgo, repliesCount, formatUrl(m)); } public static String formatUrl(com.juick.Message jmsg) { |