def METHOD_NAME(v):
	if v.username in online:
		online.remove(v.username)
	if v.username in typing: typing.remove(v.username)
	connected_users.remove(request.sid)
	emit('typing', typing, broadcast=True)