From da74025c0e97ea2b2d80882c2b88288d27b1ddc1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 15 Nov 2024 15:04:55 +0200 Subject: [PATCH] fix 500 error --- files/routes/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index 25b865df1..6456a8e3a 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -36,7 +36,7 @@ typing = {} cache.set('loggedin_chat', 0, timeout=86400) -def get_request_referrer(): +def get_referrer(): if '?m=' in request.referrer: return request.referrer.split("?m=")[0] return request.referrer