From: David ‘Bombe’ Roden Date: Sun, 13 Nov 2011 11:45:27 +0000 (+0100) Subject: Copy the contexts and properties, too. X-Git-Tag: 0.7.3^2~9^2~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f376772f33fdc5201e00079520bc274c973d29c8;p=Sone.git Copy the contexts and properties, too. --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java b/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java index ff52684..be2a3e7 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java @@ -69,6 +69,8 @@ public class DefaultOwnIdentity extends DefaultIdentity implements OwnIdentity { super(webOfTrustConnector, ownIdentity.getId(), ownIdentity.getNickname(), ownIdentity.getRequestUri()); this.webOfTrustConnector = webOfTrustConnector; this.insertUri = ownIdentity.getInsertUri(); + setContextsPrivate(ownIdentity.getContexts()); + setPropertiesPrivate(ownIdentity.getProperties()); } //