aboutsummaryrefslogtreecommitdiff
path: root/src/services/notifications_fetcher/notifications_fetcher.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/notifications_fetcher/notifications_fetcher.service.js
parent7a0e554daf843fe9e98053e79ec0114c380ededb (diff)
Revert "remove with_move param"
This reverts commit 02c8a9e3143f2b12f44d24f307e2718dec22987b.
Diffstat (limited to 'src/services/notifications_fetcher/notifications_fetcher.service.js')
-rw-r--r--src/services/notifications_fetcher/notifications_fetcher.service.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js
index 64499a1b..864e32f8 100644
--- a/src/services/notifications_fetcher/notifications_fetcher.service.js
+++ b/src/services/notifications_fetcher/notifications_fetcher.service.js
@@ -11,9 +11,12 @@ const fetchAndUpdate = ({ store, credentials, older = false }) => {
const rootState = store.rootState || store.state
const timelineData = rootState.statuses.notifications
const hideMutedPosts = getters.mergedConfig.hideMutedPosts
+ const allowFollowingMove = rootState.users.currentUser.allow_following_move
args['withMuted'] = !hideMutedPosts
+ args['withMove'] = !allowFollowingMove
+
args['timeline'] = 'notifications'
if (older) {
if (timelineData.minId !== Number.POSITIVE_INFINITY) {