Compare commits

...

2 Commits

2 changed files with 3 additions and 2 deletions

View File

@ -176,7 +176,8 @@ 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'] ?? true
//return accountPreferencesMap.get(account.acct)?.['reading:expand:spoilers'] ?? false
return true
}
/**

View File

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