forked from rDrama/rDrama
1
0
Fork 0

minor fix

master
Aevann 2023-10-07 13:57:14 +03:00
parent ef800cf652
commit 3d5734a8e7
1 changed files with 5 additions and 4 deletions

View File

@ -230,6 +230,7 @@ def connect(v):
@socketio.on('disconnect')
@auth_required_socketio
def disconnect(v):
if g.referrer != f'{SITE_FULL}/notifications/messages':
for dictionary in online.values():
dictionary.pop(v.id, None)