From: David ‘Bombe’ Roden Date: Wed, 10 Nov 2010 08:36:34 +0000 (+0100) Subject: Reset modification counter after updating a Sone. X-Git-Tag: 0.2-RC4~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=053f8bc95a7060af10687fcaedc5d8ff46f79d1b;p=Sone.git Reset modification counter after updating a Sone. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index abebdd7..20ff26c 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -550,6 +550,7 @@ public class Core implements IdentityListener { storedSone.setLikePostIds(sone.getLikedPostIds()); storedSone.setLikeReplyIds(sone.getLikedReplyIds()); storedSone.setLatestEdition(sone.getRequestUri().getEdition()); + storedSone.setModificationCounter(0); } saveSone(storedSone); }