Rename “friend Sone” to just “friend.”
[Sone.git] / src / main / java / net / pterodactylus / sone / web / FollowSonePage.java
index 39e08f3..ba55e23 100644 (file)
@@ -52,7 +52,7 @@ public class FollowSonePage extends SoneTemplatePage {
                Sone currentSone = getCurrentSone(request.getToadletContext());
                Sone sone = webInterface.core().getSone(soneId);
                if (!(sone instanceof SoneShell) && !sone.equals(currentSone)) {
-                       currentSone.addFriendSone(sone);
+                       currentSone.addFriend(sone);
                }
                throw new RedirectException("viewSone.html?sone=" + soneId);
        }