From: David ‘Bombe’ Roden Date: Sun, 3 Aug 2014 17:42:20 +0000 (+0200) Subject: Update identities only after the WOT has been modified. X-Git-Tag: 0.9-rc1^2~3^2~170 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8a6928885e118595ee49aec242f9747c0ea7fe39;p=Sone.git Update identities only after the WOT has been modified. --- diff --git a/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java b/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java index 2ed3487..4d0528b 100644 --- a/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java +++ b/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java @@ -372,11 +372,11 @@ public class WebOfTrustUpdater extends AbstractService { public void run() { try { if (score != null) { - trustee.setTrust(truster, new Trust(score, null, 0)); webOfTrustConnector.setTrust(truster, trustee, score, comment); + trustee.setTrust(truster, new Trust(score, null, 0)); } else { - trustee.removeTrust(truster); webOfTrustConnector.removeTrust(truster, trustee); + trustee.removeTrust(truster); } finish(true); } catch (WebOfTrustException wote1) {