|
|
@ -15,14 +15,17 @@ const settings = {
|
|
|
|
hideNsfwLocal: user.hideNsfw,
|
|
|
|
hideNsfwLocal: user.hideNsfw,
|
|
|
|
hideISPLocal: user.hideISP,
|
|
|
|
hideISPLocal: user.hideISP,
|
|
|
|
preloadImage: user.preloadImage,
|
|
|
|
preloadImage: user.preloadImage,
|
|
|
|
|
|
|
|
|
|
|
|
hidePostStatsLocal: typeof user.hidePostStats === 'undefined'
|
|
|
|
hidePostStatsLocal: typeof user.hidePostStats === 'undefined'
|
|
|
|
? instance.hidePostStats
|
|
|
|
? instance.hidePostStats
|
|
|
|
: user.hidePostStats,
|
|
|
|
: user.hidePostStats,
|
|
|
|
hidePostStatsDefault: this.$t('settings.values.' + instance.hidePostStats),
|
|
|
|
hidePostStatsDefault: this.$t('settings.values.' + instance.hidePostStats),
|
|
|
|
|
|
|
|
|
|
|
|
hideUserStatsLocal: typeof user.hideUserStats === 'undefined'
|
|
|
|
hideUserStatsLocal: typeof user.hideUserStats === 'undefined'
|
|
|
|
? instance.hideUserStats
|
|
|
|
? instance.hideUserStats
|
|
|
|
: user.hideUserStats,
|
|
|
|
: user.hideUserStats,
|
|
|
|
hideUserStatsDefault: this.$t('settings.values.' + instance.hideUserStats),
|
|
|
|
hideUserStatsDefault: this.$t('settings.values.' + instance.hideUserStats),
|
|
|
|
|
|
|
|
|
|
|
|
notificationVisibilityLocal: user.notificationVisibility,
|
|
|
|
notificationVisibilityLocal: user.notificationVisibility,
|
|
|
|
replyVisibilityLocal: user.replyVisibility,
|
|
|
|
replyVisibilityLocal: user.replyVisibility,
|
|
|
|
loopVideoLocal: user.loopVideo,
|
|
|
|
loopVideoLocal: user.loopVideo,
|
|
|
@ -32,20 +35,27 @@ const settings = {
|
|
|
|
streamingLocal: user.streaming,
|
|
|
|
streamingLocal: user.streaming,
|
|
|
|
pauseOnUnfocusedLocal: user.pauseOnUnfocused,
|
|
|
|
pauseOnUnfocusedLocal: user.pauseOnUnfocused,
|
|
|
|
hoverPreviewLocal: user.hoverPreview,
|
|
|
|
hoverPreviewLocal: user.hoverPreview,
|
|
|
|
|
|
|
|
|
|
|
|
collapseMessageWithSubjectLocal: typeof user.collapseMessageWithSubject === 'undefined'
|
|
|
|
collapseMessageWithSubjectLocal: typeof user.collapseMessageWithSubject === 'undefined'
|
|
|
|
? instance.collapseMessageWithSubject
|
|
|
|
? instance.collapseMessageWithSubject
|
|
|
|
: user.collapseMessageWithSubject,
|
|
|
|
: user.collapseMessageWithSubject,
|
|
|
|
collapseMessageWithSubjectDefault: this.$t('settings.values.' + instance.collapseMessageWithSubject),
|
|
|
|
collapseMessageWithSubjectDefault: this.$t('settings.values.' + instance.collapseMessageWithSubject),
|
|
|
|
|
|
|
|
|
|
|
|
subjectLineBehaviorLocal: typeof user.subjectLineBehavior === 'undefined'
|
|
|
|
subjectLineBehaviorLocal: typeof user.subjectLineBehavior === 'undefined'
|
|
|
|
? instance.subjectLineBehavior
|
|
|
|
? instance.subjectLineBehavior
|
|
|
|
: user.subjectLineBehavior,
|
|
|
|
: user.subjectLineBehavior,
|
|
|
|
subjectLineBehaviorDefault: instance.subjectLineBehavior,
|
|
|
|
subjectLineBehaviorDefault: instance.subjectLineBehavior,
|
|
|
|
|
|
|
|
|
|
|
|
alwaysShowSubjectInputLocal: typeof user.alwaysShowSubjectInput === 'undefined'
|
|
|
|
alwaysShowSubjectInputLocal: typeof user.alwaysShowSubjectInput === 'undefined'
|
|
|
|
? instance.alwaysShowSubjectInput
|
|
|
|
? instance.alwaysShowSubjectInput
|
|
|
|
: user.alwaysShowSubjectInput,
|
|
|
|
: user.alwaysShowSubjectInput,
|
|
|
|
alwaysShowSubjectInputDefault: instance.alwaysShowSubjectInput,
|
|
|
|
alwaysShowSubjectInputDefault: instance.alwaysShowSubjectInput,
|
|
|
|
scopeCopyLocal: user.scopeCopy,
|
|
|
|
|
|
|
|
|
|
|
|
scopeCopyLocal: typeof user.scopeCopy === 'undefined'
|
|
|
|
|
|
|
|
? instance.scopeCopy
|
|
|
|
|
|
|
|
: user.scopeCopy,
|
|
|
|
scopeCopyDefault: this.$t('settings.values.' + instance.scopeCopy),
|
|
|
|
scopeCopyDefault: this.$t('settings.values.' + instance.scopeCopy),
|
|
|
|
|
|
|
|
|
|
|
|
stopGifs: user.stopGifs,
|
|
|
|
stopGifs: user.stopGifs,
|
|
|
|
webPushNotificationsLocal: user.webPushNotifications,
|
|
|
|
webPushNotificationsLocal: user.webPushNotifications,
|
|
|
|
loopSilentAvailable:
|
|
|
|
loopSilentAvailable:
|
|
|
|