remove with_relationships as it doesn't help

This commit is contained in:
Shpuld Shpuldson 2020-04-23 14:11:48 +03:00
parent ce0a1e7ad1
commit 99d8e16e4d
2 changed files with 1 additions and 5 deletions

View File

@ -496,8 +496,7 @@ const fetchTimeline = ({
userId = false,
tag = false,
withMuted = false,
withMove = false,
withRelationships = false
withMove = false
}) => {
const timelineUrls = {
public: MASTODON_PUBLIC_TIMELINE,
@ -543,7 +542,6 @@ const fetchTimeline = ({
params.push(['count', 20])
params.push(['with_muted', withMuted])
params.push(['with_relationships', withRelationships])
const queryString = map(params, (param) => `${param[0]}=${param[1]}`).join('&')
url += `?${queryString}`

View File

@ -31,7 +31,6 @@ const fetchAndUpdate = ({
const { getters } = store
const timelineData = rootState.statuses.timelines[camelCase(timeline)]
const hideMutedPosts = getters.mergedConfig.hideMutedPosts
const replyVisibility = getters.mergedConfig.replyVisibility
if (older) {
args['until'] = until || timelineData.minId
@ -42,7 +41,6 @@ const fetchAndUpdate = ({
args['userId'] = userId
args['tag'] = tag
args['withMuted'] = !hideMutedPosts
args['withRelationships'] = replyVisibility === 'following'
const numStatusesBeforeFetch = timelineData.statuses.length