fix missing ''

master
Aevann 2024-04-20 16:58:01 +02:00
parent 6129245828
commit 1b90bd3bdb
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ def heartbeat(v):
@socketio.on('typing')
@auth_required_socketio
def typing_indicator(data, v):
if v.is_banned: return
if v.is_banned: return ''
if not request.referrer: return ''
room = request.referrer