Robbie Travers welcomed the US bombing of Isis tunnels and said he would not give “regressive” elements of Islam or Muslims a “free pass... because they face bigotry’”

Edinburgh University is investigating a law student over claims that he mocked Islamic State on social media and put “minority students at risk and in a state of panic and fear”.

An official at the university who conducted a preliminary investigation allegedly accused the third-year law student of having committed a “hate crime” even though there has been no criminal investigation by the police.

The law student says that the complaint against him came in retaliation after he highlighted that a former leader of an ethnic minority student group at the university had referred to black men as “trash”.

Robbie Travers, 21, acknowledged that his social media comments were highly opinionated but he denied that they were racist or in any way incited violence.

He