Zio Elk: set media expansion to true if API fails
parent
5e997c330e
commit
92aa45db44
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue