Need help

In 2009 I did marriage,it was love and arranged marriage,in 2011 my daughter born,from very beginning mental torture starts from my husband and mother in law and sometimes physical torture too,so after such quarraling i tried to adjust thereand never complant to police,later my family came to know and they also advised us to adjust,then in 2015 i had an affair with a muslim boy ,did chat in whatsapp and also send some of my nude pics and also meet and engaged in physical relationship and after some months my husband came to know about this and told me to left his house,and i left with my daughter and he files for mutual divorce showing clause that our mental adjustment is not matching but i did not give divorce that time and claimed for alumny ,buy my husband didn't want to give any moneytory help so later i withdraw the case and he again files for divorce and and i am ready to give so.now my husband is telling that he will do 497 case against me for that extramarital affair and will show all my chat history and pics as evidence...but now i want to know can he do this now when mutual divorce is filed already showing that due to non mental adjustment we have filed for divorce and i am also ready to give divorce without taking any alumny....at present i have no such connection with that muslim boy ,and i also need divorce and daughters custody...pls suggest...