From: David ‘Bombe’ Roden Date: Wed, 13 Apr 2011 05:35:04 +0000 (+0200) Subject: Store flattened albums in insert information. X-Git-Tag: beta-freefall-0.6.2-1~5 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b17ddf63d94d77ee85990f40187f3f5c0566b515;p=Sone.git Store flattened albums in insert information. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java index 15e054f..2160ab8 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java @@ -270,6 +270,7 @@ public class SoneInserter extends AbstractService { soneProperties.put("replies", new HashSet(sone.getReplies())); soneProperties.put("likedPostIds", new HashSet(sone.getLikedPostIds())); soneProperties.put("likedReplyIds", new HashSet(sone.getLikedReplyIds())); + soneProperties.put("albums", Sone.flattenAlbums(sone.getAlbums())); } //