Add recipients to posts.
[Sone.git] / src / main / resources / templates / insert / sone.xml
index d6dd643..4e8cbae 100644 (file)
@@ -21,6 +21,7 @@
                <%foreach currentSone.posts post>
                <post>
                        <id><% post.id|xml></id>
+                       <recipient><%ifnull !post.recipient><% post.recipient.id|xml><%/if></recipient>
                        <time><% post.time></time>
                        <text><% post.text|xml></text>
                </post>