From 8908979c7d8edf18c629c0d38f4a6078b639ca6b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 8 Jun 2011 15:49:57 +0200 Subject: [PATCH] Add mention notification to notification manager. --- src/main/java/net/pterodactylus/sone/web/WebInterface.java | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.7.4