Copy the identity from the original Sone, too.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 10 Nov 2010 08:57:40 +0000 (09:57 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 10 Nov 2010 08:57:40 +0000 (09:57 +0100)
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java

index 6a6265e..2bfd51f 100644 (file)
@@ -190,7 +190,7 @@ public class SoneDownloader extends AbstractService {
                        return null;
                }
 
-               Sone sone = new Sone(originalSone.getId());
+               Sone sone = new Sone(originalSone.getId()).setIdentity(originalSone.getIdentity());
 
                SimpleXML soneXml;
                try {