There has not been at any point any intention of working with Hamas.
Please read this official Labour Party Statement as regards Hamas
labour.org.uk/updates/press-releases/keir-starmers-statement-to-the-commons-on-israel-gaza-2/
" But Hamas still hold hundreds more. Sons, daughters, mums, dads, still missing. Innocent people who could, if Hamas willed it, be released immediately. But they remain hostage, because Hamas want the chaos of war. Hamas want Jews to suffer. Hamas want the Palestinian people to share in the pain
Because the Palestinian people are not their cause. Peace is not their aim. The dignity of human life – Jew or Muslim – means absolutely nothing to them.
And in the light of their barbarism, Israel has the right to defend herself. Yes, to get their hostages home but *also to defeat Hamas so nobody need suffer like this again.