So Luffy lost since he defeated Doflamingo lol.
Cp-0 is in wano since their dealer is in Impel Down, thanks to this Gorosei is in touch with what is happening in Wano so they ordered them to intervine with their fight making Luffy lose.
So yeah, Doflamingo got his revenge without moving a finger hahahaaha. No wonder why he wants the news in prison.