Notify listeners when a Sone is removed.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 31 May 2011 19:10:57 +0000 (21:10 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 31 May 2011 19:11:39 +0000 (21:11 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 20852d2..1e68c63 100644 (file)
@@ -2037,6 +2037,7 @@ public class Core implements IdentityListener, UpdateListener {
                }
                synchronized (newSones) {
                        newSones.remove(identity.getId());
+                       coreListenerManager.fireSoneRemoved(sone);
                }
        }