fix desktop notifications not working with streaming
This commit is contained in:
parent
63a5f50e7c
commit
585702b1ce
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue