diff options
author | Vitaly Takmazov | 2018-03-30 12:47:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-30 12:47:51 +0300 |
commit | 42e2a727c2bc15ac15c9a3af66f126dbefe508a2 (patch) | |
tree | fd704fda59b8814919bbd32ca2f43d13ef22a05f /juick-server/src/main/java/com/juick/server/api | |
parent | 42af9310f0c195a68212cd9d06f2a3f06a402891 (diff) |
server: process attachments correctly
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api')
-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 301f6e37..6bab5b41 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 @@ -303,7 +303,7 @@ public class Post { if (msg.getUser().getUid() == visitor.getUid()) { throw new HttpForbiddenException(); } - String status = commandsManager.commandRecommend(visitor, null, String.valueOf(mid)); + String status = commandsManager.commandRecommend(visitor, null, null, String.valueOf(mid)); return Status.getStatus(status); } } |