Remove notifications for removed posts and replies.
[Sone.git] / 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);
        }
 
        /**