Drop the entire thing about hidden "own" timeline since it doesn't necessarily

contain all of the users posts (it doesn't contain DMs) even though it's "us".
Since this is a workaround anyway just fetch home timeline instead. It could end
up making more queries if user doesn't post that often.
This commit is contained in:
Henry Jameson 2018-08-20 19:01:54 +03:00
parent 0b6f9c62a1
commit 612aa56c8b
4 changed files with 2 additions and 8 deletions

View file

@ -54,11 +54,11 @@ const backendInteractorService = (credentials) => {
return timelineFetcherService.startFetching({timeline, store, credentials, userId})
}
const fetchOldPost = ({store, postId}) => {
const fetchOldPost = ({store, postId, timeline = 'friends'}) => {
return timelineFetcherService.fetchAndUpdate({
store,
credentials,
timeline: 'own',
timeline,
older: true,
until: postId + 1
})