projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'release-0.6.6'
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
ajax
/
UnlikeAjaxPage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/ajax/UnlikeAjaxPage.java
b/src/main/java/net/pterodactylus/sone/web/ajax/UnlikeAjaxPage.java
index
e5c933d
..
84b0593
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/ajax/UnlikeAjaxPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/ajax/UnlikeAjaxPage.java
@@
-55,10
+55,10
@@
public class UnlikeAjaxPage extends JsonPage {
}
if ("post".equals(type)) {
currentSone.removeLikedPostId(id);
}
if ("post".equals(type)) {
currentSone.removeLikedPostId(id);
- webInterface.getCore().
saveSone(currentSone
);
+ webInterface.getCore().
touchConfiguration(
);
} else if ("reply".equals(type)) {
currentSone.removeLikedReplyId(id);
} else if ("reply".equals(type)) {
currentSone.removeLikedReplyId(id);
- webInterface.getCore().
saveSone(currentSone
);
+ webInterface.getCore().
touchConfiguration(
);
} else {
return createErrorJsonObject("invalid-type");
}
} else {
return createErrorJsonObject("invalid-type");
}