From c7c2b377642a337edc303756836c9f0843cdc145 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 21 May 2018 15:50:36 +0300 Subject: juick.com/m/ links --- .../src/main/java/com/juick/formatters/PlainTextFormatter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-common/src/main/java/com/juick/formatters') 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) { -- cgit v1.2.3