Add friends to Sone.
[Sone.git] / src / main / resources / templates / insert / sone.xml
index 83969fa..53ffabd 100644 (file)
                <%/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>