X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;fp=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=14cb8a44b6d5cded30a4c08a47fcc555cef17d9e;hb=8e8a4e496095ebbcc28a0a33b92ec247995bb99a;hp=e6157254954882a5d40b270143f6aa76eee89ba0;hpb=7231a1d0090fc13df11cc52686a0dd3a7d271545;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index e615725..14cb8a4 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -31,7 +31,7 @@ <%foreach currentSone.posts post> <% post.id|xml> - <%ifnull !post.recipient><% post.recipient.id|xml><%/if> + <%if post.recipientId.present><% post.recipientId.get|xml><%/if> <% post.text|xml>