try fixing the green dot bug

master
Aevann 2024-11-15 20:02:57 +02:00
parent bbaf31fdb9
commit dc9c52f620
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ typing = {}
cache.set('loggedin_chat', 0, timeout=86400) cache.set('loggedin_chat', 0, timeout=86400)
def get_referrer(): def get_referrer():
if '?m=' in request.referrer: if request.referrer and '?m=' in request.referrer:
return request.referrer.split("?m=")[0] return request.referrer.split("?m=")[0]
return request.referrer return request.referrer