aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/formatters
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-21 15:50:36 +0300
committerGravatar Vitaly Takmazov2018-05-21 16:09:14 +0300
commitc7c2b377642a337edc303756836c9f0843cdc145 (patch)
tree846b6bfc126d6a3451597a0ca3c1110088347684 /juick-common/src/main/java/com/juick/formatters
parent1179cdc5ba750c87783e442afeb202026ddd458d (diff)
juick.com/m/ links
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) {