forked from MarseyWorld/MarseyWorld
try fixing the green dot bug
parent
bbaf31fdb9
commit
dc9c52f620
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue