Compare commits
No commits in common. "26c16ff0d5013c93b968e6a024856ad4d10fdfb5" and "ed2655fffc5c8b948cf5e96267abb32203f3f9d0" have entirely different histories.
26c16ff0d5
...
ed2655fffc
|
@ -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
|
* @returns `true` when user ticked the preference to always expand posts with content warnings
|
||||||
*/
|
*/
|
||||||
export function getExpandSpoilersByDefault(account: mastodon.v1.AccountCredentials) {
|
export function getExpandSpoilersByDefault(account: mastodon.v1.AccountCredentials) {
|
||||||
//return accountPreferencesMap.get(account.acct)?.['reading:expand:spoilers'] ?? false
|
return accountPreferencesMap.get(account.acct)?.['reading:expand:spoilers'] ?? true
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@elk-zone/elk",
|
"name": "@elk-zone/elk",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.14.0-zio",
|
"version": "0.14.0",
|
||||||
"packageManager": "pnpm@8.15.5",
|
"packageManager": "pnpm@8.15.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://elk.zone/",
|
"homepage": "https://elk.zone/",
|
||||||
|
|
Loading…
Reference in New Issue