Insert image after creating it.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 12 Apr 2011 07:05:56 +0000 (09:05 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Apr 2011 04:41:05 +0000 (06:41 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 66ca6eb..c30aef6 100644 (file)
@@ -1864,6 +1864,7 @@ public class Core implements IdentityListener, UpdateListener, ImageInsertListen
                synchronized (images) {
                        images.put(image.getId(), image);
                }
+               imageInserter.insertImage(temporaryImage, image);
                return image;
        }