Mercurial Hosting > chat
diff src/get_chat.js.luan @ 89:3053a4fc10be
spy
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 13 Mar 2025 17:56:39 -0600 |
parents | a47036fd0158 |
children |
line wrap: on
line diff
--- a/src/get_chat.js.luan Thu Mar 13 16:18:39 2025 -0600 +++ b/src/get_chat.js.luan Thu Mar 13 17:56:39 2025 -0600 @@ -24,7 +24,10 @@ local function get_html(user,chat) - chat.read(user) + local spy = Http.request.cookies.spy ~= nil + if not spy then + chat.read(user) + end local posts = post_search( "post_chat_id:"..chat.id, "id" ) %> <div top>