diff options
| author | Henry Jameson <spam@hjkos.com> | 2021-01-13 22:17:10 +0200 |
|---|---|---|
| committer | Henry Jameson <spam@hjkos.com> | 2021-01-13 22:17:29 +0200 |
| commit | 9a8bc245a6f76f1a41da9d05408dadc36625ffe9 (patch) | |
| tree | e193ee2126a86d84369b95d1eb47d69cc13cfda4 /src/modules/api.js | |
| parent | 48bef143d86b02d7feeeac3e1faa0e5e00e09ea6 (diff) | |
fixed few-posts TLs when streaming is enabled
Diffstat (limited to 'src/modules/api.js')
| -rw-r--r-- | src/modules/api.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/modules/api.js b/src/modules/api.js index 2be0f236..b482637d 100644 --- a/src/modules/api.js +++ b/src/modules/api.js @@ -188,6 +188,13 @@ const api = { if (!fetcher) return store.commit('removeFetcher', { fetcherName: timeline, fetcher }) }, + fetchTimeline (store, timeline, { ...rest }) { + store.state.backendInteractor.fetchTimeline({ + store, + timeline, + ...rest + }) + }, // Notifications startFetchingNotifications (store) { @@ -200,6 +207,12 @@ const api = { if (!fetcher) return store.commit('removeFetcher', { fetcherName: 'notifications', fetcher }) }, + fetchNotifications (store, { ...rest }) { + store.state.backendInteractor.fetchNotifications({ + store, + ...rest + }) + }, // Follow requests startFetchingFollowRequests (store) { |
