aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-08 09:59:30 +0300
committerGravatar Vitaly Takmazov2018-04-08 09:59:30 +0300
commit867d82cf39026c09de06928f396d7f1c6cb9e90d (patch)
treed6d1ad650945c8e10c165ebd2f75825616b83ba8 /juick-server/src/main/java/com/juick
parent32970d0de18d6d3029756c98c347f1d998e96ff3 (diff)
server: fix /comment endpoint
Diffstat (limited to 'juick-server/src/main/java/com/juick')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/Post.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/Post.java b/juick-server/src/main/java/com/juick/server/api/Post.java
index 68465de1..9dd42db0 100644
--- a/juick-server/src/main/java/com/juick/server/api/Post.java
+++ b/juick-server/src/main/java/com/juick/server/api/Post.java
@@ -163,7 +163,7 @@ public class Post {
}
}
- return commandsManager.processCommand(visitor, body, attachmentFName).getNewMessage().get();
+ return commandsManager.processCommand(visitor, String.format("#%d/%d %s", mid, rid, body), attachmentFName).getNewMessage().get();
}
Session session = Session.getDefaultInstance(new Properties());