From 8a6928885e118595ee49aec242f9747c0ea7fe39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 3 Aug 2014 19:42:20 +0200 Subject: [PATCH] Update identities only after the WOT has been modified. --- src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.7.4