initial streaming work
This commit is contained in:
parent
ddb6fb9217
commit
319bb4ac28
4 changed files with 76 additions and 5 deletions
|
@ -469,11 +469,14 @@ const users = {
|
|||
store.dispatch('initializeSocket')
|
||||
}
|
||||
|
||||
// Start getting fresh posts.
|
||||
store.dispatch('startFetchingTimeline', { timeline: 'friends' })
|
||||
store.dispatch('startMastoSocket').catch((error) => {
|
||||
console.error(error)
|
||||
// Start getting fresh posts.
|
||||
store.dispatch('startFetchingTimeline', { timeline: 'friends' })
|
||||
|
||||
// Start fetching notifications
|
||||
store.dispatch('startFetchingNotifications')
|
||||
// Start fetching notifications
|
||||
store.dispatch('startFetchingNotifications')
|
||||
})
|
||||
|
||||
// Get user mutes
|
||||
store.dispatch('fetchMutes')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue