From: David ‘Bombe’ Roden Date: Mon, 13 Dec 2010 19:28:21 +0000 (+0100) Subject: Remove notifications for removed posts and replies. X-Git-Tag: beta-freefall-0.6.2-1~187 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=080bbbe88d4277b8bd4c5c6c2596f79c42711be8;p=Sone.git Remove notifications for removed posts and replies. --- diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index 58962c4..659ce9b 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -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); } /**