From: David ‘Bombe’ Roden Date: Sun, 3 Aug 2014 17:22:04 +0000 (+0200) Subject: Actually remove trust when setting it null. X-Git-Tag: 0.9-rc1^2~3^2~172 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f3e620969ceeeb0e4372b184cac01e7877b2a695;p=Sone.git Actually remove trust when setting it null. --- 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);