On Friday afternoon, the president told reporters in Manado, a city on Sulawesi island, that he would not comment on the Supreme Court ruling but that Nuril should apply for amnesty as soon as possible so that his office could assume legal authority over her case.
"Since the beginning, my attention to this case has never diminished," he said. "If it gets to me, then it will be under my authority, and I will use the authority I have."
Women in Indonesia, a predominantly Muslim country, have little legal recourse and are expected to tolerate harassment and sometimes sexual relations if they want to keep their jobs, women's rights advocates said.
Nuril was acquitted at trial, but prosecutors appealed the verdict.
A three-judge panel found her guilty last year and imposed a sentence of six months and a fine of about $35,000, a huge amount for her family. If she does not pay the fine, she must serve an additional three months.
In the ruling released on Thursday by a different three-judge panel, the court denied her request for a review of the case.
The problems for Nuril, a mother of three, began in 2013 when Muslim took over as principal of the high school where she worked.
He made vulgar remarks and a rumour spread that they had been carrying on an affair.
Determined to disprove the rumour, she recorded one of his calls and played it for her husband and a teacher.
After learning of the recording's existence, Muslim filed a police complaint against Nuril for criminal defamation.
During the police investigation, she was arrested and jailed for a month.
Eventually, prosecutors rejected the defamation complaint, but charged her with distributing obscene material.
At trial, she denied distributing the recording and testified that a colleague, Imam Mudawin, downloaded it from her phone while she was in another room.
But the Supreme Court sided with prosecutors, who contended that she gave Imam the indecent recording for distribution.
Her attorney, Joko Jumadi, said she would apply for amnesty next week, but would not seek a presidential pardon because she is not guilty of any crime. A grant of amnesty would expunge her criminal record.
"We stand firm that Baiq Nuril is not guilty," he said, using a local honorific. "Even though she has to go to prison for this fight, she is ready."
An online fundraising campaign had raised more than $26,000 by midday on Friday to help pay her fine.
Nuril said she was proud to fight for her "dignity as a woman," but questioned why she was being sent to jail when it was Muslim who made the obscene comments.
"Clearly the person has admitted that it was his voice, admitted that he was the one who called me, admitted that he was the one who said things that were inappropriate," she said.
"Why can he just casually walk around," she asked, "while I, as the victim, am the one being punished?"
Written by: Richard C. Paddock and Muktita Suhartono
Photographs by: Richard C. Paddock
© 2019 THE NEW YORK TIMES