Mercurial Hosting > chat
diff src/lib/Post.luan @ 53:9298b04607ae
add unread
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 03 Mar 2025 19:39:30 -0700 |
parents | af41be2dcdec |
children | b5a316575e64 |
line wrap: on
line diff
--- a/src/lib/Post.luan Mon Mar 03 12:29:06 2025 -0700 +++ b/src/lib/Post.luan Mon Mar 03 19:39:30 2025 -0700 @@ -15,7 +15,7 @@ id = doc.id chat_id = doc.post_chat_id author_id = doc.author_id - date = doc.date + date = doc.post_date content = doc.content } end @@ -26,7 +26,7 @@ id = post.id post_chat_id = long(post.chat_id) author_id = long(post.author_id) - date = long(post.date) + post_date = long(post.date) content = post.content or error() } end