From 18117c3bfa4cae9542e49222aad058aa52929f18 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 13 Aug 2018 16:17:00 +0300 Subject: [PATCH] storing entire config instead of each separate thing of it, so that future options won't be lost during reloads because developer forgot to update that list of settings to be persisted --- src/main.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main.js b/src/main.js index cb53edd3c1..50e5ea8d57 100644 --- a/src/main.js +++ b/src/main.js @@ -45,15 +45,7 @@ Vue.use(VueChatScroll) const persistedStateOptions = { paths: [ - 'config.hideAttachments', - 'config.hideAttachmentsInConv', - 'config.hideNsfw', - 'config.autoLoad', - 'config.hoverPreview', - 'config.streaming', - 'config.muteWords', - 'config.customTheme', - 'config.highlight', + 'config', 'users.lastLoginName' ] }