From: David ‘Bombe’ Roden Date: Wed, 17 Nov 2010 19:59:04 +0000 (+0100) Subject: Reply a new post’s Sone with the already existing copy. X-Git-Tag: 0.3-RC1~17 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8c7279e5ee80ba0c9af979e0f8b0588c9ed1ae1e;p=Sone.git Reply a new post’s Sone with the already existing copy. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index eeda121..0f95d56 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -807,6 +807,7 @@ public class Core implements IdentityListener { synchronized (newPosts) { for (Post post : sone.getPosts()) { if (!storedSone.getPosts().contains(post) && !knownPosts.contains(post.getId())) { + post.setSone(getSone(post.getSone().getId())); newPosts.add(post.getId()); coreListenerManager.fireNewPostFound(post); }