From f3e620969ceeeb0e4372b184cac01e7877b2a695 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:22:04 +0200 Subject: [PATCH] Actually remove trust when setting it null. --- src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java b/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java index d9389b7..9ad6478 100644 --- a/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java +++ b/src/main/java/net/pterodactylus/sone/core/WebOfTrustUpdater.java @@ -375,7 +375,7 @@ public class WebOfTrustUpdater extends AbstractService { trustee.setTrust(truster, new Trust(score, null, 0)); webOfTrustConnector.setTrust(truster, trustee, score, comment); } else { - trustee.setTrust(truster, null); + trustee.removeTrust(truster); webOfTrustConnector.removeTrust(truster, trustee); } finish(true); -- 2.7.4