Donald Trump claimed victory on a deal that would put TikTok in the hands of his allies after a call with Xi Jinping. But details on the agreement—and Beijing’s buy-in—remain murky.

Trump’s TikTok deal requires US to make its own version of the app.

Comments from Chinese official in Madrid have raised questions over who could control the algorithm that powers Tik Tok’s video feed