From: David ‘Bombe’ Roden Date: Wed, 22 Dec 2010 23:05:09 +0000 (+0100) Subject: Save the configuration after marking posts and replies as known. X-Git-Tag: beta-freefall-0.6.2-1~176 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=66b1ea22fc5b2685ab8d649f270c9c4c4f86e90a;p=Sone.git Save the configuration after marking posts and replies as known. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 0c3d8ff..807b1f3 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1306,6 +1306,7 @@ public class Core implements IdentityListener { if (newPosts.remove(post.getId())) { knownPosts.add(post.getId()); coreListenerManager.fireMarkPostKnown(post); + saveConfiguration(); } } } @@ -1386,6 +1387,7 @@ public class Core implements IdentityListener { if (newReplies.remove(reply.getId())) { knownReplies.add(reply.getId()); coreListenerManager.fireMarkReplyKnown(reply); + saveConfiguration(); } } }