remove with_relationships as it doesn't help
This commit is contained in:
parent
ce0a1e7ad1
commit
99d8e16e4d
@ -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}`
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user