It took just a few hours after Hamas’ assault on Israel for Qatar’s prime minister to assemble a team at an undisclosed location in the capital, Doha. As the images emerged of missile attacks, gunmen on motorbikes and hostages seized across the border from Gaza, the Gulf state’s leadership knew what it needed to do.