Mourners gathered in Doha for the funeral of the Hamas leader Ismail Haniyeh, who was assassinated in Tehran. Among them were Qatar’s emir, Sheikh Tamim bin Hamad al-Thani, and Khaled Meshaal, who is expected to replace Haniyeh as political chief of Hamas.