A professor who was sacked for sending his student romantic messages is set to get his job back, after the Fair Work Commission rejected the university’s appeal.