X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FWebInterface.java;h=2f3f575955284141f831ba32b1d9f12246e34354;hb=a405a19ef1019095db939751f02d0c398931b71a;hp=115e0c3b201272e614467828f59a80f9154570cb;hpb=3e6898bb3e6e1d6fba2e95df82fbc7f98415aa4f;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index 115e0c3..2f3f575 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -382,6 +382,9 @@ public class WebInterface implements CoreListener { */ @Override public void newReplyFound(Reply reply) { + if (reply.getPost().getSone() == null) { + return; + } newReplyNotification.addReply(reply); notificationManager.addNotification(newReplyNotification); }