From: David ‘Bombe’ Roden <bombe@pterodactylus.net> Date: Thu, 14 Oct 2010 16:11:00 +0000 (+0200) Subject: Add friends to Sone. X-Git-Tag: 0.1-RC1~361 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=720418872c13262688f89625dabe1edbfca09ece;p=Sone.git Add friends to Sone. --- diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 83969fa..53ffabd 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -34,4 +34,14 @@ <%/foreach> </replies> + <friends> + <%foreach currentSone.friends friend> + <friend> + <sone-id><% friend.id|html></sone-id> + <sone-key><% friend.requestUri|html></sone-key> + <sone-name><% friend.niceName|html></sone-name> + </friend> + <%/foreach> + </friends> + </sone>