The chairman of the Indonesia-based Nahdlatul Ulama , Hasyim Muzadi , gave the warning in Bangkok where he is meeting with Thai Prime Minister Thaksin Shinawatra and King Bhumibol Adulyadej on ways to end the unrest .