diff options
author | Vitaly Takmazov | 2018-09-29 16:39:37 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-09-29 16:39:37 +0300 |
commit | 1621fb481fe91b084a48326419969f3a22ccbbe2 (patch) | |
tree | be6aa4acd21ee5d8e7edf8cde95cffe64590ec0e /juick-server/src/main/java/com/juick/server/api | |
parent | 80f305e6f5d22abc38807fd6fad37b5cb450c249 (diff) |
Mentions
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/Notifications.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/Notifications.java b/juick-server/src/main/java/com/juick/server/api/Notifications.java index b0d64292..67e52851 100644 --- a/juick-server/src/main/java/com/juick/server/api/Notifications.java +++ b/juick-server/src/main/java/com/juick/server/api/Notifications.java @@ -89,7 +89,7 @@ public class Notifications { Message reply = messagesService.getReply(mid, rid); users = subscriptionService.getUsersSubscribedToComments(op, reply); } else { - users = subscriptionService.getSubscribedUsers(msg.getUser().getUid(), mid); + users = subscriptionService.getSubscribedUsers(msg.getUser().getUid(), msg); } return ResponseEntity.ok(users.stream().map(User::getUid) |