Merge branch 'from/develop/tusooa/fix-fetchTimeline' into 'develop'
Fix fetchTimeline error See merge request pleroma/pleroma-fe!1688
This commit is contained in:
commit
e41edd1bbf
@ -216,7 +216,7 @@ const api = {
|
||||
if (!fetcher) return
|
||||
store.commit('removeFetcher', { fetcherName: timeline, fetcher })
|
||||
},
|
||||
fetchTimeline (store, timeline, { ...rest }) {
|
||||
fetchTimeline (store, { timeline, ...rest }) {
|
||||
store.state.backendInteractor.fetchTimeline({
|
||||
store,
|
||||
timeline,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user