Compare commits
2 commits
ed2655fffc
...
26c16ff0d5
| Author | SHA1 | Date | |
|---|---|---|---|
| 26c16ff0d5 | |||
| 1eeee694a2 |
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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/",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue