Set modification counter to 0 after loading the Sone from Freenet.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / SoneDownloader.java
index 8a2203c..efd13e4 100644 (file)
@@ -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);