aboutsummaryrefslogtreecommitdiff
path: root/src/services/api/api.service.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-05-12 20:04:00 +0300
committerShpuld Shpuldson <shp@cock.li>2020-05-12 20:04:00 +0300
commit726d5279c11de132192df2c2fa13579ea472aebe (patch)
treea0e97b5d7435ae79b7a44c1d0d5d035aa16181fa /src/services/api/api.service.js
parent7a0e554daf843fe9e98053e79ec0114c380ededb (diff)
Revert "remove with_move param"
This reverts commit 02c8a9e3143f2b12f44d24f307e2718dec22987b.
Diffstat (limited to 'src/services/api/api.service.js')
-rw-r--r--src/services/api/api.service.js6
1 files changed, 5 insertions, 1 deletions
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])