forked from AkkomaGang/akkoma-fe
fix desktop notifications not working with streaming
This commit is contained in:
parent
63a5f50e7c
commit
585702b1ce
1 changed files with 2 additions and 0 deletions
|
@ -481,6 +481,8 @@ const users = {
|
||||||
store.dispatch('enableMastoSockets').catch((error) => {
|
store.dispatch('enableMastoSockets').catch((error) => {
|
||||||
console.error('Failed initializing MastoAPI Streaming socket', error)
|
console.error('Failed initializing MastoAPI Streaming socket', error)
|
||||||
startPolling()
|
startPolling()
|
||||||
|
}).then(() => {
|
||||||
|
setTimeout(() => store.dispatch('setNotificationsSilence', false), 10000)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
startPolling()
|
startPolling()
|
||||||
|
|
Loading…
Reference in a new issue