From: David ‘Bombe’ Roden Date: Wed, 10 Nov 2010 08:57:40 +0000 (+0100) Subject: Copy the identity from the original Sone, too. X-Git-Tag: 0.2-RC4~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=873af59aa0b0af826933e09e2843de30bdb044a8;p=Sone.git Copy the identity from the original Sone, too. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index 6a6265e..2bfd51f 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -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 {