diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-06-22 07:47:30 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-06-22 07:47:30 +0000 |
| commit | 5a8f3dddfde863a87a3a4f0ed9c7433935520c59 (patch) | |
| tree | ea94eed3cb7f5fe268be6cf5ae22b5d6b917bb49 /src/modules/chat.js | |
| parent | 03a27c6d4864758d72f127138fa21961ef2b61fa (diff) | |
| parent | bd377148ade7aaf26652dc14ee77683b7e6c8c5a (diff) | |
Merge branch 'fix-token-auth-login' into 'develop'
Fix broken token authentication
See merge request pleroma/pleroma-fe!846
Diffstat (limited to 'src/modules/chat.js')
| -rw-r--r-- | src/modules/chat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chat.js b/src/modules/chat.js index 2804e577..4d8d6699 100644 --- a/src/modules/chat.js +++ b/src/modules/chat.js @@ -21,7 +21,7 @@ const chat = { }, actions: { disconnectFromChat (store) { - store.state.socket.disconnect() + store.state.socket && store.state.socket.disconnect() }, initializeChat (store, socket) { const channel = socket.channel('chat:public') |
