From 7c6e814747848b2dc729a2d994913cef415105ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 7 Dec 2011 07:22:26 +0100 Subject: [PATCH] Insert avatar ID. --- src/main/java/net/pterodactylus/sone/core/SoneInserter.java | 1 + src/main/resources/templates/insert/sone.xml | 1 + 2 files changed, 2 insertions(+) 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> -- 2.7.4