Mercurial Hosting > chat
diff src/active.js.luan @ 89:3053a4fc10be
spy
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 13 Mar 2025 17:56:39 -0600 |
parents | 624654817f99 |
children |
line wrap: on
line diff
--- a/src/active.js.luan Thu Mar 13 16:18:39 2025 -0600 +++ b/src/active.js.luan Thu Mar 13 17:56:39 2025 -0600 @@ -10,6 +10,10 @@ return function() + local spy = Http.request.cookies.spy ~= nil + if spy then + return + end local user = current_user() or error() remove_notify(user) local chat = Http.request.parameters.chat