Divorce & Child Custody Case

I was online chatting with a lady for the past 3 years since 2016 and I know her personally for past 11 years. She is going through her divorce case filed in 2015 and started living separately also from the same year in different city. Now in 2019 her husband hacked her Facebook account and took the printout of the chats and submitted in the court stating that she has sexual talks with men therefore she isn't deemed to be fit for my child and the court gave the custody to the father. Now that lady's brother is telling me that because of your we're in trouble hence we'll be sending you the notice to appear in the court and tell your story because you sent those texts deliberately/intentionally but the fact is that was a mutual conversation and nothing else and that too once in 2016 and since then we had a lot of conversation, calls, video calls etc then why they're putting me into this . So my question is for this can I be jailed ? Did I do any crime ? Because I haven't shared any sexual picture, videos , links etc nothing just a normal chat that I had. If I don't wish to appear so will police will come looking after me etc ? This is all I want to know