diff options
| author | lambda <pleromagit@rogerbraun.net> | 2019-01-29 15:57:36 +0000 |
|---|---|---|
| committer | lambda <pleromagit@rogerbraun.net> | 2019-01-29 15:57:36 +0000 |
| commit | bd6c446b3349aea3e931ee75b0cef748b95d40c6 (patch) | |
| tree | e1338c7ddb4057a600af751976e4a97b37c6f265 /src/boot/after_store.js | |
| parent | 0e5fe7504f26bdef2a95384268c85bb14a2cdb40 (diff) | |
| parent | 41c4d59341468ad8e061bd0fd5fb3cf92ff23dfa (diff) | |
Merge branch 'fix/dont-connect-ws-when-chat-disabled' into 'develop'
fix #288 - Don't connect WS when chat is disabled
Closes #288
See merge request pleroma/pleroma-fe!492
Diffstat (limited to 'src/boot/after_store.js')
| -rw-r--r-- | src/boot/after_store.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js index 50500582..5693dcc6 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -89,6 +89,8 @@ const afterStoreSetup = ({ store, i18n }) => { if ((config.chatDisabled)) { store.dispatch('disableChat') + } else { + store.dispatch('initializeSocket') } const router = new VueRouter({ |
