From: David ‘Bombe’ Roden Date: Tue, 25 Jan 2011 15:44:38 +0000 (+0100) Subject: Compare the new list of replies with the correct old list. Fixes #96. X-Git-Tag: 0.4.3^2~10 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=650d62f334f306d67e4adcb4906db1a1f2dca300;p=Sone.git Compare the new list of replies with the correct old list. Fixes #96. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index dbda28d..364b9f1 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -996,7 +996,7 @@ public class Core implements IdentityListener, UpdateListener { } } } - Set storedReplies = sone.getReplies(); + Set storedReplies = storedSone.getReplies(); synchronized (newReplies) { for (Reply reply : sone.getReplies()) { reply.setSone(storedSone);