Notify listeners when a post is removed.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Apr 2011 17:59:44 +0000 (19:59 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Apr 2011 17:59:44 +0000 (19:59 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index e18fabc..7a4bc4a 100644 (file)
@@ -1495,6 +1495,7 @@ public class Core implements IdentityListener, UpdateListener {
                synchronized (posts) {
                        posts.remove(post.getId());
                }
+               coreListenerManager.firePostRemoved(post);
                synchronized (newPosts) {
                        markPostKnown(post);
                        knownPosts.remove(post.getId());