fixed few-posts TLs when streaming is enabled
This commit is contained in:
parent
48bef143d8
commit
9a8bc245a6
7 changed files with 37 additions and 11 deletions
|
@ -547,6 +547,8 @@ const users = {
|
|||
}
|
||||
|
||||
if (store.getters.mergedConfig.useStreamingApi) {
|
||||
store.dispatch('fetchTimeline', 'friends', { since: null })
|
||||
store.dispatch('fetchNotifications', { since: null })
|
||||
store.dispatch('enableMastoSockets').catch((error) => {
|
||||
console.error('Failed initializing MastoAPI Streaming socket', error)
|
||||
startPolling()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue