diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-09-08 09:35:36 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-09-08 09:35:36 +0000 |
| commit | f31bc5310e544cd6f960471659c5a83e1f1721be (patch) | |
| tree | 14d913a145a4e7bcb9221a38aea70410293ce69f /src | |
| parent | 925bf5b5a41bb747146866ad034c3b1ae0a720b6 (diff) | |
| parent | e768ec1fca2f7580d111b0878a9695b0c8b9dbb1 (diff) | |
Merge branch 'master' into 'rc/2.1.1'
# Conflicts:
# CHANGELOG.md
Diffstat (limited to 'src')
| -rw-r--r-- | src/services/notifications_fetcher/notifications_fetcher.service.js | 3 |
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) { |
