From: David ‘Bombe’ Roden Date: Thu, 14 Apr 2011 17:59:44 +0000 (+0200) Subject: Notify listeners when a post is removed. X-Git-Tag: 0.6.2^2~19^2~6 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c28464cea0a6f2bf54ba4ba26e4bdaa781fa482d;p=Sone.git Notify listeners when a post is removed. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index e18fabc..7a4bc4a 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -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());