@John *********
that's legally not working in Thailand.
As long as he didn't receive income inside Thaïlande from thai clients, legally, it's fine.
I can speak from experience as someone who has a long term visa and a lawyer!
However promoting a business in Thailand even for free might be suspicious! So you have to make it clear that you are not receiving compensation.