The Liberal deputy mayor of the Inner West Council, installed with the support of local Labor politicians, compared the rainbow flag to that of ISIS when a neighbour hung it outside his house, the neighbour says.

The councillor, Julie Passas, was elected deputy mayor in September. Following the announcement of the results of the same-sex marriage postal survey last Wednesday, her neighbour, Daniel Comensoli, hung the rainbow flag outside his home to celebrate.

Deputy Mayor of the Inner West, Julie Passas Credit:Inner West Council

Mr Comensoli said he was then subjected to homophobic abuse by Cr Passas, who lives across from him.

Mr Comensoli said she shouted that he should not be afforded the right to marry until he could "breastfeed and have children".