Niyaz drew fire from the former ruling lawmakers in a Twitter spat last week.
President-elect Ibrahim Mohamed Solih was among the dozen lawmakers.