Compare the new list of replies with the correct old list. Fixes #96.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / Core.java
index dbda28d..364b9f1 100644 (file)
@@ -996,7 +996,7 @@ public class Core implements IdentityListener, UpdateListener {
                                                }
                                        }
                                }
-                               Set<Reply> storedReplies = sone.getReplies();
+                               Set<Reply> storedReplies = storedSone.getReplies();
                                synchronized (newReplies) {
                                        for (Reply reply : sone.getReplies()) {
                                                reply.setSone(storedSone);