Use unique IDs for images
[Sone.git] / src / main / java / net / pterodactylus / sone / core / ConfigurationSoneParser.java
index a29856b..02c10db 100644 (file)
@@ -271,7 +271,7 @@ public class ConfigurationSoneParser {
                                        .setHeight(height)
                                        .update();
                        album.addImage(image);
-                       images.put(image.getId(), image);
+                       images.put(imageId, image);
                }
        }