Pop star Katy Perry has managed to get back on the good side of Chinese authorities with a message of support for the people of China amid the Wuhan coronavirus outbreak.

“I just wanted to send a message to you, to let you know that we are all with you during this time and to keep fighting, stay healthy, and positive, as best as you can. We’re thinking of you. We’re sending our prayers and we’re going to get through this… Jiayou,” Perry says in a clip posted to her Weibo account on Tuesday.

The video has been viewed nearly 8 million times, also attracting the notice of officials in China.

On Wednesday, China’s Foreign Ministry used its Twitter account to draw attention to Perry’s message.

“Thanks @katyperryfor your great support. Your message at this difficult moment is well received,” tweeted the ministry. “It will be remembered forever. You have a lot of fans here in China.”

For some reason, the last eight seconds of Perry’s video is cut off by the ministry’s Twitter account, including the part where she talks about sending prayers.

Thanks @katyperry for your great support. Your message at this difficult moment is well received. It will be remembered forever. You have a lot of fans here in China. pic.twitter.com/72P2lFb98P — Spokesperson发言人办公室 (@MFA_China) February 5, 2020

Chinese officials are certainly singing a different tune about Perry than they were a few years ago when she had been scheduled to headline at the Victoria’s Secret Fashion Show in Shanghai, only to reportedly be banned from China shortly before showtime.

Ahead of the gig, a letter circulated online which purportedly showed Perry promising to behave herself while in China.

“I promise not to say or do anything religious or political,” the note read. “Meanwhile, I promise not to participate in any activities that jeopardize China’s unity and integrity.”

China’s “Fruit Sister” had evidently got herself in trouble with Chinese authorities over a performance she gave in Taipei in 2015 in which she donned a sunflower dress and waved around the Taiwanese flag.

Many interpreted the singer’s wardrobe choice as a sign of solidarity with Taiwanese independence, bringing to mind the “Sunflower Movement,” the 24-day student-led occupation of the Taiwanese legislature in March 2014.

Perry’s message to China comes just as she’s been named by Prince Charles as an ambassador of his British Asian Trust philanthropic project, a choice that many found odd considering Perry’s lack of ties to Asia and controversial history of “cultural appropriation.”

The new British Asian Trust ambassador… has an interesting way of “appreciating” other cultures. #KatyPerry pic.twitter.com/6Hsc0E0bJ8 — 𝕄𝔼𝔾ℍ𝔸ℕ𝕀𝕊𝕋𝔸 🇨🇦❤️🇨🇦❤️🇨🇦 (@freepeeper) February 5, 2020