diff options
author | 2018-04-08 09:59:30 +0300 | |
---|---|---|
committer | 2018-04-08 09:59:30 +0300 | |
commit | 867d82cf39026c09de06928f396d7f1c6cb9e90d (patch) | |
tree | d6d1ad650945c8e10c165ebd2f75825616b83ba8 /juick-server/src/main/java/com/juick/server/api/Post.java | |
parent | 32970d0de18d6d3029756c98c347f1d998e96ff3 (diff) |
server: fix /comment endpoint
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/Post.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/Post.java | 2 |
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()); |