This doesn't seem accurate. US Citizens/Residents/People who travel into the US who do many types of business with Iran can get into legal trouble. The person you are responding to is asking if that would apply here.
But then in that sense Iran can do whatever it wants once they get their hands on you, laws or not