From: David ‘Bombe’ Roden Date: Tue, 24 May 2011 03:51:10 +0000 (+0200) Subject: Save local Sone after auto-following. X-Git-Tag: 0.6.5^2~30 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e53fb85c94344fdca49e1e2c9f481e1036b48684;p=Sone.git Save local Sone after auto-following. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 765b672..32a47f6 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -933,6 +933,7 @@ public class Core implements IdentityListener, UpdateListener { for (Sone localSone : getLocalSones()) { if (localSone.getOptions().getBooleanOption("AutoFollow").get()) { localSone.addFriend(sone.getId()); + saveSone(localSone); } } }