|
|
@ -495,8 +495,7 @@ const fetchTimeline = ({
|
|
|
|
until = false,
|
|
|
|
until = false,
|
|
|
|
userId = false,
|
|
|
|
userId = false,
|
|
|
|
tag = false,
|
|
|
|
tag = false,
|
|
|
|
withMuted = false,
|
|
|
|
withMuted = false
|
|
|
|
withMove = false
|
|
|
|
|
|
|
|
}) => {
|
|
|
|
}) => {
|
|
|
|
const timelineUrls = {
|
|
|
|
const timelineUrls = {
|
|
|
|
public: MASTODON_PUBLIC_TIMELINE,
|
|
|
|
public: MASTODON_PUBLIC_TIMELINE,
|
|
|
@ -536,9 +535,6 @@ const fetchTimeline = ({
|
|
|
|
if (timeline === 'public' || timeline === 'publicAndExternal') {
|
|
|
|
if (timeline === 'public' || timeline === 'publicAndExternal') {
|
|
|
|
params.push(['only_media', false])
|
|
|
|
params.push(['only_media', false])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (timeline === 'notifications') {
|
|
|
|
|
|
|
|
params.push(['with_move', withMove])
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
params.push(['limit', 20])
|
|
|
|
params.push(['limit', 20])
|
|
|
|
params.push(['with_muted', withMuted])
|
|
|
|
params.push(['with_muted', withMuted])
|
|
|
|