Fix retrieval of post replies.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 25 Jan 2013 19:09:32 +0000 (20:09 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 25 Jan 2013 19:09:32 +0000 (20:09 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index ab49612..901614e 100644 (file)
@@ -602,7 +602,7 @@ public class Core extends AbstractService implements SoneProvider, PostProvider,
 
                        @Override
                        public boolean apply(PostReply reply) {
-                               return post.equals(reply.getPost());
+                               return post.getId().equals(reply.getPostId());
                        }
                }));
        }