projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always append new posts to the “posts” div.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
core
/
SoneInserter.java
diff --git
a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java
b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java
index
b79e620
..
41c1f82
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/core/SoneInserter.java
+++ b/
src/main/java/net/pterodactylus/sone/core/SoneInserter.java
@@
-163,6
+163,9
@@
public class SoneInserter extends AbstractService {
/* don’t insert locked Sones. */
if (core.isLocked(sone)) {
/* trigger redetection when the Sone is unlocked. */
/* don’t insert locked Sones. */
if (core.isLocked(sone)) {
/* trigger redetection when the Sone is unlocked. */
+ synchronized (sone) {
+ modified = !sone.getFingerprint().equals(lastInsertFingerprint);
+ }
lastFingerprint = "";
lastModificationTime = 0;
continue;
lastFingerprint = "";
lastModificationTime = 0;
continue;