commit: cf3fbdd61096d3e51c09179474f383f8351a33cb
parent: 1ae8935977b2e974b6727b6a02035c9d38c9d670
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Mon, 25 May 2020 10:48:45 +0000
Merge branch 'fix/favorites-timeline-unsupported-with-muted' into 'develop'
Removed `with_muted` param usage for user favorites timeline endpoint
See merge request pleroma/pleroma-fe!1119
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js
@@ -538,9 +538,11 @@ const fetchTimeline = ({
if (timeline === 'public' || timeline === 'publicAndExternal') {
params.push(['only_media', false])
}
+ if (timeline !== 'favorites') {
+ params.push(['with_muted', withMuted])
+ }
params.push(['limit', 20])
- params.push(['with_muted', withMuted])
const queryString = map(params, (param) => `${param[0]}=${param[1]}`).join('&')
url += `?${queryString}`