From: David ‘Bombe’ Roden Date: Tue, 9 Jul 2013 06:41:26 +0000 (+0200) Subject: Create local Sones when parsing local Sones. X-Git-Tag: 0.8.7^2~40^2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=927cded118021c66bd9f6e1ed2fcf56e3c06c19e;p=Sone.git Create local Sones when parsing local Sones. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index f493fdc..5b56de8 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -239,7 +239,7 @@ public class SoneDownloader extends AbstractService { return null; } - Sone sone = new Sone(originalSone.getId(), false).setIdentity(originalSone.getIdentity()); + Sone sone = new Sone(originalSone.getId(), originalSone.isLocal()).setIdentity(originalSone.getIdentity()); SimpleXML soneXml; try {