Replace the Sone of a reply with the authoritative one.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / Core.java
index ea491bb..1faca35 100644 (file)
@@ -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);
                                                }