The U.S. and Iran will continue the next round of indirect talks after the funeral of Iran’s late supreme leader, mediators said Thursday, as diplomatic efforts to end the Middle East war continue despite ongoing tensions.

Following the foes' indirect discussions in Doha Wednesday, U.S. President Donald Trump, as well as mediators Qatar and Pakistan, offered signs that diplomacy was holding, despite exchanges of fire this week.

An interim deal was agreed to reopen the vital Strait of Hormuz and end hostilities, but major questions still need to be tackled in talks, including Iran's nuclear program.

"Qatari and Pakistani mediators concluded separate meetings with the U.S. and Iranian negotiators in Doha (Wednesday), with positive progress made," Pakistan said Thursday.

Islamabad added that the sides agreed to keep talking, "with the next meeting to be set at the earliest possible time following the funeral processions of the former Iranian Supreme Leader."