projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Save Sone locally after changing friends.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
UnfollowSonePage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/UnfollowSonePage.java
b/src/main/java/net/pterodactylus/sone/web/UnfollowSonePage.java
index
5c838a0
..
d4fd688
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/UnfollowSonePage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/UnfollowSonePage.java
@@
-55,6
+55,7
@@
public class UnfollowSonePage extends SoneTemplatePage {
Sone sone = webInterface.core().getSone(soneId);
if (!sone.equals(currentSone)) {
currentSone.removeFriend(sone);
+ webInterface.core().saveSone(currentSone);
}
throw new RedirectException(returnPage);
}