From: David ‘Bombe’ Roden Date: Thu, 18 Nov 2010 19:56:35 +0000 (+0100) Subject: Copy latest edition from newer Sone. X-Git-Tag: 0.3~2 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=cbeea5bd399143abd649bd295729137a886de3b6;p=Sone.git Copy latest edition from newer Sone. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index e23ce6b..225e3e6 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -875,7 +875,7 @@ public class Core implements IdentityListener { storedSone.setLikePostIds(sone.getLikedPostIds()); storedSone.setLikeReplyIds(sone.getLikedReplyIds()); } - storedSone.setLatestEdition(sone.getRequestUri().getEdition()); + storedSone.setLatestEdition(sone.getLatestEdition()); } } }