From: David ‘Bombe’ Roden Date: Wed, 30 Mar 2011 11:26:04 +0000 (+0200) Subject: Change “TreeOwner” to “Truster” to match changed FCP interface of WoT. X-Git-Tag: 0.6^2~37 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=eece10daa3b076ea97a99f810c4c5350094d8bf9;p=Sone.git Change “TreeOwner” to “Truster” to match changed FCP interface of WoT. --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java index 1802f2d..59da039 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -230,7 +230,7 @@ public class WebOfTrustConnector implements ConnectorListener { * if an error occured talking to the Web of Trust plugin */ public Trust getTrust(OwnIdentity ownIdentity, Identity identity) throws PluginException { - Reply getTrustReply = performRequest(SimpleFieldSetConstructor.create().put("Message", "GetIdentity").put("TreeOwner", ownIdentity.getId()).put("Identity", identity.getId()).get()); + Reply getTrustReply = performRequest(SimpleFieldSetConstructor.create().put("Message", "GetIdentity").put("Truster", ownIdentity.getId()).put("Identity", identity.getId()).get()); String trust = getTrustReply.getFields().get("Trust"); String score = getTrustReply.getFields().get("Score"); String rank = getTrustReply.getFields().get("Rank");