The dating app will detect abusive messages before they are sent and ask the writer to pause.