X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FWebInterface.java;h=8eb012242245af25baf56b144efca9823e207b4e;hp=1e04105a6db0d3fd788308ede8f7e2f08242deeb;hb=8908979c7d8edf18c629c0d38f4a6078b639ca6b;hpb=29daf9b1a853061c245c6225e5e5ea8f553c87a7 diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index 1e04105..8eb0122 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -727,6 +727,7 @@ public class WebInterface implements CoreListener { notificationManager.addNotification(newPostNotification); if (!getMentionedSones(post.getText()).isEmpty()) { mentionNotification.add(post); + notificationManager.addNotification(mentionNotification); } } else { getCore().markPostKnown(post); @@ -746,6 +747,7 @@ public class WebInterface implements CoreListener { notificationManager.addNotification(newReplyNotification); if (!getMentionedSones(reply.getText()).isEmpty()) { mentionNotification.add(reply.getPost()); + notificationManager.addNotification(mentionNotification); } } else { getCore().markReplyKnown(reply);