aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-30 12:47:51 +0300
committerGravatar Vitaly Takmazov2018-03-30 12:47:51 +0300
commit42e2a727c2bc15ac15c9a3af66f126dbefe508a2 (patch)
treefd704fda59b8814919bbd32ca2f43d13ef22a05f /juick-server/src/main/java/com/juick/server/api
parent42af9310f0c195a68212cd9d06f2a3f06a402891 (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.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 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);
}
}