Save Sone locally after changing friends.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / UnfollowSoneAjaxPage.java
index 012b9cf..e9650aa 100644 (file)
@@ -53,6 +53,7 @@ public class UnfollowSoneAjaxPage extends JsonPage {
                        return new JsonObject().put("success", false).put("error", "auth-required");
                }
                currentSone.removeFriend(sone);
+               webInterface.core().saveSone(currentSone);
                return new JsonObject().put("success", true);
        }