<%foreach currentSone.posts post>
<post>
<id><% post.id|xml></id>
- <recipient><%ifnull !post.recipient><% post.recipient.id|xml><%/if></recipient>
+ <recipient><%if post.recipientId.present><% post.recipientId.get|xml><%/if></recipient>
<time><% post.time></time>
<text><% post.text|xml></text>
</post>