Merge branch 'streaming' into shigusegubu
* streaming: fix desktop notifications not working with streaming
This commit is contained in:
commit
51e5487acc
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue