aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-09-17 17:17:21 +0000
committerShpuld Shpludson <shp@cock.li>2020-09-17 17:17:21 +0000
commit30efbaab34b25834531c0f978cb4494eefeebfa1 (patch)
treebdc628fbb9706b1257bd5623284246238878bd8b /src
parent8ca0586c0f75d1ea70268f0951edb4dbbfc85271 (diff)
parent938887ef91a12dcaaaaa0884af4e76abd1c6c679 (diff)
Merge branch 'master' into 'rc/2.1.2'
# Conflicts: # CHANGELOG.md
Diffstat (limited to 'src')
-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 80be02ca..133e913f 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) {