The talks were mediated by Qatar and Turkey