Unless you're in Thailand for 180+ days in a year, in which case your tax resident in Thailand, and tax is due there. Depending on the DTA with your home country, you may or may not also need to pay tax there as well.
How come when I ask about whether the DTV visa can be transferred to a renewed passport (a pretty relevant question, given the group), the admin deletes my question? Three times now, and I've never had an answer because of it.