Send keepalive pings. Remove players who haven't sent pings.
@ -12,9 +12,8 @@ def index():
@socketio.event
def message(data):
print(data)
emit('message', data, broadcast=True)
if __name__ == '__main__':
socketio.run(app, log_output=True)
socketio.run(app, log_output=True, debug=True)
The note is not visible to the blocked user.