From e207e21fd2a1a4dbfce607ad99aa2975c5f924ee Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 14 Nov 2021 12:27:42 +0100 Subject: Reduce default chat history. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 06cb7fe..5265030 100644 --- a/server.js +++ b/server.js @@ -544,7 +544,7 @@ app.get('/users', may_be_logged_in, function (req, res) { app.get('/chat', must_be_logged_in, function (req, res) { LOG(req, "GET /chat"); - let chat = SQL_SELECT_USER_CHAT_N.all(req.user.user_id, 1200); + let chat = SQL_SELECT_USER_CHAT_N.all(req.user.user_id, 12*20); res.render('chat.ejs', { user: req.user, chat: chat, page_size: 12 }); }); -- cgit v1.2.3