Merge branch 'fixes-and-tweaks' into shigusegubu

* fixes-and-tweaks:
  Revert "storing entire config instead of each separate thing of it, so that future"
This commit is contained in:
Henry Jameson 2018-08-18 13:58:04 +03:00
commit c71cc250c5
2 changed files with 14 additions and 1 deletions

View file

@ -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'
]
}

View file

@ -13,6 +13,7 @@ const defaultState = {
streaming: false,
hoverPreview: true,
pauseOnUnfocused: true,
stopGifs: false,
muteWords: [],
highlight: {}
}