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