X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetPostFeedCommand.java;h=0fc7eda031e381cdaf55e82acb19cdb8f7514821;hp=f842ac4a5365ba47a07fe77eb80c58f5d31846a9;hb=d535f744751ba449e0f34fe3a42f1020988f14be;hpb=7f024734546973cd592e6cbf04604705477f15f6 diff --git a/src/main/java/net/pterodactylus/sone/fcp/GetPostFeedCommand.java b/src/main/java/net/pterodactylus/sone/fcp/GetPostFeedCommand.java index f842ac4..0fc7eda 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/GetPostFeedCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/GetPostFeedCommand.java @@ -68,7 +68,7 @@ public class GetPostFeedCommand extends AbstractSoneCommand { } allPosts.addAll(getCore().getSone(friendSoneId).getPosts()); } - allPosts.addAll(getCore().getDirectedPosts(sone)); + allPosts.addAll(getCore().getDirectedPosts(sone.getId())); allPosts = Collections2.filter(allPosts, Post.FUTURE_POSTS_FILTER); List sortedPosts = new ArrayList(allPosts);