Use a unique ID for posts
[Sone.git] / src / main / resources / templates / insert / sone.xml
index 10e57eb..2dd9499 100644 (file)
@@ -30,7 +30,7 @@
        <posts>
                <%foreach currentSone.posts post>
                <post>
-                       <id><% post.id|xml></id>
+                       <id><% post.internalId|xml></id>
                        <recipient><%if post.recipientId.present><% post.recipientId.get|xml><%/if></recipient>
                        <time><% post.time></time>
                        <text><% post.text|xml></text>