Remove notifications for removed posts and replies.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 13 Dec 2010 19:28:21 +0000 (20:28 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 13 Dec 2010 19:28:21 +0000 (20:28 +0100)
src/main/java/net/pterodactylus/sone/web/WebInterface.java

index 58962c4..659ce9b 100644 (file)
@@ -647,7 +647,7 @@ public class WebInterface implements CoreListener {
         */
        @Override
        public void postRemoved(Post post) {
-               /* TODO */
+               newPostNotification.remove(post);
        }
 
        /**
@@ -655,7 +655,7 @@ public class WebInterface implements CoreListener {
         */
        @Override
        public void replyRemoved(Reply reply) {
-               /* TODO */
+               newReplyNotification.remove(reply);
        }
 
        /**