A court in Sydney has heard that the independent Sydney MP Alex Greenwich considered quitting politics after being subjected to an offensive tweet by One Nation's former state leader Mark Latham. Mr Greenwich is suing for defamation over comments which were condemned as homophobic and playing on tired stereotypes of gay men.