Mercurial Hosting > chat
diff src/lib/Chat.luan @ 11:563a5358f2ee
add delete_chat
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 31 Oct 2024 19:17:53 -0600 |
parents | 41d35b72c774 |
children | 9f45d32670ae |
line wrap: on
line diff
--- a/src/lib/Chat.luan Wed Oct 30 23:18:45 2024 -0600 +++ b/src/lib/Chat.luan Thu Oct 31 19:17:53 2024 -0600 @@ -42,7 +42,7 @@ function chat.delete() run_in_transaction( function() local id = chat.id - -- Db.delete("chat_user_ids:"..id) + Db.delete("post_chat_id:"..id) Db.delete("id:"..id) end ) end