From 9db5d67a18552b4aa6b3e374bc4b928f89f0bfef Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 17 Nov 2010 22:09:01 +0100 Subject: [PATCH] Replace the Sone of a reply with the authoritative one. --- src/main/java/net/pterodactylus/sone/core/Core.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index ea491bb..1faca35 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -841,6 +841,7 @@ public class Core implements IdentityListener { synchronized (newReplies) { for (Reply reply : sone.getReplies()) { if (!storedSone.getReplies().contains(reply) && !knownReplies.contains(reply.getId())) { + reply.setSone(getSone(reply.getSone().getId())); newReplies.add(reply.getId()); coreListenerManager.fireNewReplyFound(reply); } -- 2.7.4