From 726d5279c11de132192df2c2fa13579ea472aebe Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Tue, 12 May 2020 20:04:00 +0300 Subject: Revert "remove with_move param" This reverts commit 02c8a9e3143f2b12f44d24f307e2718dec22987b. --- src/services/api/api.service.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/services/api/api.service.js') diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index 72c8874f..9d1ce393 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -496,7 +496,8 @@ const fetchTimeline = ({ until = false, userId = false, tag = false, - withMuted = false + withMuted = false, + withMove = false }) => { const timelineUrls = { public: MASTODON_PUBLIC_TIMELINE, @@ -536,6 +537,9 @@ const fetchTimeline = ({ if (timeline === 'public' || timeline === 'publicAndExternal') { params.push(['only_media', false]) } + if (timeline === 'notifications') { + params.push(['with_move', withMove]) + } params.push(['limit', 20]) params.push(['with_muted', withMuted]) -- cgit v1.2.3-70-g09d2