forked from AkkomaGang/akkoma-fe
revert pinned timeline polling logic
This commit is contained in:
parent
8095ce8f62
commit
9e22d6212a
1 changed files with 0 additions and 6 deletions
|
@ -16,12 +16,6 @@ const update = ({store, statuses, timeline, showImmediately, userId}) => {
|
|||
}
|
||||
|
||||
const fetchAndUpdate = ({store, credentials, timeline = 'friends', older = false, showImmediately = false, userId = false, tag = false, until}) => {
|
||||
if (timeline === 'pinned') {
|
||||
return apiService.fetchPinnedStatuses({ id: userId, credentials })
|
||||
.then(statuses => {
|
||||
update({ store, statuses, timeline, showImmediately, userId })
|
||||
})
|
||||
}
|
||||
const args = { timeline, credentials }
|
||||
const rootState = store.rootState || store.state
|
||||
const timelineData = rootState.statuses.timelines[camelCase(timeline)]
|
||||
|
|
Loading…
Reference in a new issue