From: David ‘Bombe’ Roden Date: Fri, 5 Nov 2010 08:44:41 +0000 (+0100) Subject: Actually check for liked replies. X-Git-Tag: 0.2-RC1~32 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=57a3d27b6434ca1c426284358d1f69f5687802be;p=Sone.git Actually check for liked replies. Copy & Paste kills! --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 8ebf133..ea76a72 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -389,7 +389,7 @@ public class Core implements IdentityListener { public Set getLikes(Reply reply) { Set sones = new HashSet(); for (Sone sone : getSones()) { - if (sone.getLikedPostIds().contains(reply.getId())) { + if (sone.getLikedReplyIds().contains(reply.getId())) { sones.add(sone); } }