fix desktop notifications not working with streaming

このコミットが含まれているのは:
Henry Jameson 2019-12-12 18:53:36 +02:00
コミット 585702b1ce
1個のファイルの変更2行の追加0行の削除

ファイルの表示

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