From: David ‘Bombe’ Roden Date: Fri, 26 Jul 2019 14:49:18 +0000 (+0200) Subject: ⚡️ Don’t save configuration for every Sone X-Git-Tag: v81^2~182 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=77afa5ded755aa37ad160f2a054d986f3745f525;p=Sone.git ⚡️ Don’t save configuration for every Sone --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index a5b219c..be4ce4e 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1507,8 +1507,6 @@ public class Core extends AbstractService implements SoneProvider, PostProvider, configuration.getStringValue(sonePrefix + "/Options/ShowCustomAvatars").setValue(sone.getOptions().getShowCustomAvatars().name()); configuration.getStringValue(sonePrefix + "/Options/LoadLinkedImages").setValue(sone.getOptions().getLoadLinkedImages().name()); - configuration.save(); - webOfTrustUpdater.setProperty((OwnIdentity) sone.getIdentity(), "Sone.LatestEdition", String.valueOf(sone.getLatestEdition())); logger.log(Level.INFO, String.format("Sone %s saved.", sone));