Zio Elk: set media expansion to always true

zio/stable
Ducky 2024-06-08 20:27:04 +01:00
parent 5e997c330e
commit 1e83a7ae6e
1 changed files with 2 additions and 1 deletions

View File

@ -185,7 +185,8 @@ export function getExpandSpoilersByDefault(account: mastodon.v1.AccountCredentia
* @returns `true` when user selected "Always show media" as Media Display preference * @returns `true` when user selected "Always show media" as Media Display preference
*/ */
export function getExpandMediaByDefault(account: mastodon.v1.AccountCredentials) { export function getExpandMediaByDefault(account: mastodon.v1.AccountCredentials) {
return accountPreferencesMap.get(account.acct)?.['reading:expand:media'] === 'show_all' //return accountPreferencesMap.get(account.acct)?.['reading:expand:media'] === 'show_all'
return true
} }
/** /**