Mauritius on Saturday overturned its decision to prohibit social media until the election, which was spurred by a wiretapping scandal.
The block on social media has been in place for 24 hours, preventing people on the Indian Ocean island from accessing Facebook, Instagram, TikTok, and X.
It was set to last until November 11, the day after the general election.
The restriction was spurred by the recent public broadcast of covert recordings of phone calls made by politicians, journalists, civil society representatives, and even foreign ambassadors.
The office of Prime Minister Pravind Kumar Jugnauth had said that “the national security and integrity of our republic and our international partners may have been compromised” by the leaks.
However, in a statement issued on Saturday, the Information and Communications Authority stated that the ban had been lifted following “consultation with competent authorities”.
Opposition parties and local media groups, both of which rely heavily on social media, reacted strongly.
Missie Moustass (Mr Moustache) revealed the leaked recordings, which were mostly shared on TikTok.
There have been attempts to block the account, but it has rapidly regenerated elsewhere and is now releasing recordings practically daily.
Among the most shocking revelations was the police commissioner allegedly requesting a forensic doctor to change a report on a person who died after being abused in police custody. The revelation prompted a judicial probe into the death.
Private calls featuring British High Commissioner Charlotte Pierre also appear to have been leaked.
Jugnauth is seeking re-election as head of the Militant Socialist Movement.
He inherited the premiership on the death of his father in 2017 and secured a victory for his coalition in polls two years later.