Compare commits

..

No commits in common. "26c16ff0d5013c93b968e6a024856ad4d10fdfb5" and "ed2655fffc5c8b948cf5e96267abb32203f3f9d0" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -176,8 +176,7 @@ const accountPreferencesMap = new Map<string, Partial<mastodon.v1.Preference>>()
* @returns `true` when user ticked the preference to always expand posts with content warnings
*/
export function getExpandSpoilersByDefault(account: mastodon.v1.AccountCredentials) {
//return accountPreferencesMap.get(account.acct)?.['reading:expand:spoilers'] ?? false
return true
return accountPreferencesMap.get(account.acct)?.['reading:expand:spoilers'] ?? true
}
/**

View File

@ -1,7 +1,7 @@
{
"name": "@elk-zone/elk",
"type": "module",
"version": "0.14.0-zio",
"version": "0.14.0",
"packageManager": "pnpm@8.15.5",
"license": "MIT",
"homepage": "https://elk.zone/",