Add a core thread that periodically saves the configuration.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / FollowSonePage.java
index 0bf84d7..81225e9 100644 (file)
@@ -56,7 +56,7 @@ public class FollowSonePage extends SoneTemplatePage {
                        for (String soneId : soneIds.split("[ ,]+")) {
                                currentSone.addFriend(soneId);
                        }
-                       webInterface.getCore().saveSone(currentSone);
+                       webInterface.getCore().touchConfiguration();
                        throw new RedirectException(returnPage);
                }
        }