Oman had been mediating talks between Iran and the US before Washington attacked Tehran.