projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set modification counter to 0 after loading the Sone from Freenet.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
core
/
SoneDownloader.java
diff --git
a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
index
8a2203c
..
efd13e4
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
+++ b/
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
@@
-235,6
+235,7
@@
public class SoneDownloader extends AbstractService {
sone.setProfile(profile);
sone.setPosts(posts);
sone.setReplies(replies);
+ sone.setModificationCounter(0);
}
} catch (IOException ioe1) {
logger.log(Level.WARNING, "Could not read XML file from " + sone + "!", ioe1);