Mercurial Hosting > chat
diff src/add_post.js.luan @ 92:c41e200c3e76
try to fix lost posts
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 31 Mar 2025 15:43:14 -0600 |
parents | b5a316575e64 |
children |
line wrap: on
line diff
--- a/src/add_post.js.luan Sun Mar 16 20:32:10 2025 -0600 +++ b/src/add_post.js.luan Mon Mar 31 15:43:14 2025 -0600 @@ -48,7 +48,7 @@ end ) Notify.add(chat) local html = `post_html(post)` - local js = "added("..json_string(html)..")" + local js = "added("..json_string(html)..","..now..")" chat.http_push(js) js = "getChats('"..chat.id.."',"..now..")" http_push_to_users( chat.user_ids, js )