diff --git a/src/main.js b/src/main.js index 50e5ea8d..df271ce3 100644 --- a/src/main.js +++ b/src/main.js @@ -45,7 +45,19 @@ Vue.use(VueChatScroll) const persistedStateOptions = { paths: [ - 'config', + 'config.hideAttachments', + 'config.hideAttachmentsInConv', + 'config.hideNsfw', + 'config.autoLoad', + 'config.hoverPreview', + 'config.streaming', + 'config.muteWords', + 'config.customTheme', + 'config.highlight', + 'config.loopVideo', + 'config.loopVideoSilentOnly', + 'config.pauseOnUnfocused', + 'config.stopGifs', 'users.lastLoginName' ] } diff --git a/src/modules/config.js b/src/modules/config.js index 26930e1d..fe31ab01 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -13,6 +13,7 @@ const defaultState = { streaming: false, hoverPreview: true, pauseOnUnfocused: true, + stopGifs: false, muteWords: [], highlight: {} }