aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick/api/MessengerManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/MessengerManager.java')
-rw-r--r--juick-api/src/main/java/com/juick/api/MessengerManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-api/src/main/java/com/juick/api/MessengerManager.java b/juick-api/src/main/java/com/juick/api/MessengerManager.java
index 75c496c8..7341b946 100644
--- a/juick-api/src/main/java/com/juick/api/MessengerManager.java
+++ b/juick-api/src/main/java/com/juick/api/MessengerManager.java
@@ -110,7 +110,7 @@ public class MessengerManager implements ApplicationListener<MessageEvent> {
subscriptionService.getSubscribedUsers(msg.getUser().getUid(), msg.getMid())
.forEach(user -> messengerService.getSenderId(user)
.ifPresent(t -> messengerNotify(t, subject, formatUrl(msg))));
- } else {
+ } else if (msg.getRid() > 0) {
// get quote
com.juick.Message jmsg = messagesService.getReply(msg.getMid(), msg.getRid());
String subject = formatPost(jmsg);