From 9e22d6212acaeba271d847b565d066ae92165d09 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Wed, 24 Apr 2019 08:33:12 -0400
Subject: [PATCH] revert pinned timeline polling logic
---
src/services/timeline_fetcher/timeline_fetcher.service.js | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/services/timeline_fetcher/timeline_fetcher.service.js b/src/services/timeline_fetcher/timeline_fetcher.service.js
index e8d9a2ed..8e954cdf 100644
--- a/src/services/timeline_fetcher/timeline_fetcher.service.js
+++ b/src/services/timeline_fetcher/timeline_fetcher.service.js
@@ -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)]