aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/formatters
diff options
context:
space:
mode:
Diffstat (limited to 'juick-common/src/main/java/com/juick/formatters')
-rw-r--r--juick-common/src/main/java/com/juick/formatters/PlainTextFormatter.java4
1 files changed, 2 insertions, 2 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 7275a9da..91748684 100644
--- a/juick-common/src/main/java/com/juick/formatters/PlainTextFormatter.java
+++ b/juick-common/src/main/java/com/juick/formatters/PlainTextFormatter.java
@@ -77,11 +77,11 @@ public class PlainTextFormatter {
public static String formatUrl(com.juick.Message jmsg) {
if (MessageUtils.isReply(jmsg)) {
- return String.format("https://juick.com/%d#%d", jmsg.getMid(), jmsg.getRid());
+ return String.format("https://juick.com/m/%d#%d", jmsg.getMid(), jmsg.getRid());
} else if (MessageUtils.isPM(jmsg)) {
return "https://juick.com/pm/inbox";
}
- return "https://juick.com/" + jmsg.getMid();
+ return "https://juick.com/m/" + jmsg.getMid();
}
public static String formatPostNumber(com.juick.Message jmsg) {