From: David ‘Bombe’ Roden Date: Wed, 7 Dec 2011 06:22:26 +0000 (+0100) Subject: Insert avatar ID. X-Git-Tag: 0.7.6^2~1^2~16 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7c6e814747848b2dc729a2d994913cef415105ee;p=Sone.git Insert avatar ID. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java index 4d9878f..f6bf6e0 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java @@ -307,6 +307,7 @@ public class SoneInserter extends AbstractService { soneProperties.put("likedPostIds", new HashSet(sone.getLikedPostIds())); soneProperties.put("likedReplyIds", new HashSet(sone.getLikedReplyIds())); soneProperties.put("albums", sone.getAllAlbums()); + soneProperties.put("avatar", sone.getAvatar()); } // diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 2e4f298..fbacd19 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -24,6 +24,7 @@ <%/foreach> + <%currentSone.avatar|xml>