diff src/lib/Post.luan @ 79:b5a316575e64

reply
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 10 Mar 2025 21:41:53 -0600
parents 9298b04607ae
children
line wrap: on
line diff
--- a/src/lib/Post.luan	Sun Mar 09 22:20:36 2025 -0600
+++ b/src/lib/Post.luan	Mon Mar 10 21:41:53 2025 -0600
@@ -17,6 +17,7 @@
 		author_id = doc.author_id
 		date = doc.post_date
 		content = doc.content
+		reply = doc.reply
 	}
 end
 
@@ -28,6 +29,7 @@
 		author_id = long(post.author_id)
 		post_date = long(post.date)
 		content = post.content or error()
+		reply = post.reply and long(post.reply)
 	}
 end