fix desktop notifications not working with streaming

This commit is contained in:
Henry Jameson 2019-12-12 18:53:36 +02:00
parent 63a5f50e7c
commit 585702b1ce

View file

@ -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()