Fix fetchTimeline error

This commit is contained in:
tusooa 2022-11-24 23:11:30 -05:00
commit 4b252ea8d3
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 2 additions and 2 deletions

View file

@ -588,7 +588,7 @@ const users = {
}
if (store.getters.mergedConfig.useStreamingApi) {
store.dispatch('fetchTimeline', 'friends', { since: null })
store.dispatch('fetchTimeline', { timeline: 'friends', since: null })
store.dispatch('fetchNotifications', { since: null })
store.dispatch('enableMastoSockets', true).catch((error) => {
console.error('Failed initializing MastoAPI Streaming socket', error)