diff options
| author | Henry Jameson <me@hjkos.com> | 2019-12-12 18:53:36 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-12-12 18:53:36 +0200 |
| commit | 585702b1cedf25547ff5faf0170263088e5484a6 (patch) | |
| tree | fd7fad324bc68c2474caa99dd487bad0cb917c35 /src/modules/users.js | |
| parent | 63a5f50e7c4acfc7676a1093990d0377dcb1a39f (diff) | |
fix desktop notifications not working with streaming
Diffstat (limited to 'src/modules/users.js')
| -rw-r--r-- | src/modules/users.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/users.js b/src/modules/users.js index cbec6063..5dc2f36f 100644 --- a/src/modules/users.js +++ b/src/modules/users.js @@ -481,6 +481,8 @@ const users = { store.dispatch('enableMastoSockets').catch((error) => { console.error('Failed initializing MastoAPI Streaming socket', error) startPolling() + }).then(() => { + setTimeout(() => store.dispatch('setNotificationsSilence', false), 10000) }) } else { startPolling() |
