Insert avatar ID.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 7 Dec 2011 06:22:26 +0000 (07:22 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 7 Dec 2011 06:22:26 +0000 (07:22 +0100)
src/main/java/net/pterodactylus/sone/core/SoneInserter.java
src/main/resources/templates/insert/sone.xml

index 4d9878f..f6bf6e0 100644 (file)
@@ -307,6 +307,7 @@ public class SoneInserter extends AbstractService {
                        soneProperties.put("likedPostIds", new HashSet<String>(sone.getLikedPostIds()));
                        soneProperties.put("likedReplyIds", new HashSet<String>(sone.getLikedReplyIds()));
                        soneProperties.put("albums", sone.getAllAlbums());
+                       soneProperties.put("avatar", sone.getAvatar());
                }
 
                //
index 2e4f298..fbacd19 100644 (file)
@@ -24,6 +24,7 @@
                        </field>
                        <%/foreach>
                </fields>
+               <avatar><%currentSone.avatar|xml></avatar>
        </profile>
 
        <posts>