diff options
author | Vitaly Takmazov | 2018-04-11 21:34:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-11 21:34:14 +0300 |
commit | ad99117a15062a3819dad1f52a072e9694a954df (patch) | |
tree | 61b47950cca3adba91ef4f7c8ce80c1a1f8a531f /juick-server/src/main | |
parent | 47254ab8555162bc121c7b618fff42fc64b9454c (diff) |
server: last read marker for threads
Diffstat (limited to 'juick-server/src/main')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/Messages.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/Messages.java b/juick-server/src/main/java/com/juick/server/api/Messages.java index 86426bf6..45b8f69c 100644 --- a/juick-server/src/main/java/com/juick/server/api/Messages.java +++ b/juick-server/src/main/java/com/juick/server/api/Messages.java @@ -145,7 +145,7 @@ public class Messages { if (!messagesService.canViewThread(mid, vuid)) { return FORBIDDEN; } else { - List<com.juick.Message> replies = messagesService.getReplies(mid); + List<com.juick.Message> replies = messagesService.getReplies(visitor, mid); replies.add(0, msg); return ResponseEntity.ok(replies); } |