aboutsummaryrefslogtreecommitdiff
path: root/src/services/api/api.service.js
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-02-10 21:09:36 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-02-10 21:09:36 +0300
commita52ae1ebeb0e69c4484122be8fca7e68b030db32 (patch)
tree35ab07dcc52df64d2a5590614212a0e1cdf4bf65 /src/services/api/api.service.js
parent64c180c8388afd229ffbcef745b6a81afa0d0056 (diff)
parent17b6d8ddb8a9a1637fd88e017170b973b97381da (diff)
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop
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 11aa0675..b794fd58 100644
--- a/src/services/api/api.service.js
+++ b/src/services/api/api.service.js
@@ -495,7 +495,8 @@ const fetchTimeline = ({
until = false,
userId = false,
tag = false,
- withMuted = false
+ withMuted = false,
+ withMove = false
}) => {
const timelineUrls = {
public: MASTODON_PUBLIC_TIMELINE,
@@ -535,6 +536,9 @@ const fetchTimeline = ({
if (timeline === 'public' || timeline === 'publicAndExternal') {
params.push(['only_media', false])
}
+ if (timeline === 'notifications') {
+ params.push(['with_move', withMove])
+ }
params.push(['count', 20])
params.push(['with_muted', withMuted])