diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-08-27 13:59:56 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-08-27 13:59:56 +0000 |
| commit | c7ddfefe34a254fd1e939fb652696f04891d5060 (patch) | |
| tree | bd848862d64cd87f96588e16eca14b81c06a9b33 /src | |
| parent | c0205d582a565e8848c413db3e4531b454f13690 (diff) | |
| parent | 5d49edc823ba2ea3e34d4fd6c5efcc84ef9712f7 (diff) | |
Merge branch 'master' into '2.1.0-rc0'
# Conflicts:
# CHANGELOG.md
# src/services/api/api.service.js
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) { |
