Synchroton radiation in a thermal plasma with large-scale random magnetic fields