Copy latest edition from newer Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 18 Nov 2010 19:56:35 +0000 (20:56 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 18 Nov 2010 19:56:35 +0000 (20:56 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index e23ce6b..225e3e6 100644 (file)
@@ -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());
                        }
                }
        }