Merge branch 'master' into '2.1.0-rc0'
# Conflicts: # CHANGELOG.md # src/services/api/api.service.js
This commit is contained in:
commit
c7ddfefe34
2 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
- Weird bug related to post being sent seemingly after pasting with keyboard (hopefully)
|
- Weird bug related to post being sent seemingly after pasting with keyboard (hopefully)
|
||||||
- Multiple issues with muted statuses/notifications
|
- Multiple issues with muted statuses/notifications
|
||||||
|
|
||||||
|
|
||||||
## [2.0.5] - 2020-05-12
|
## [2.0.5] - 2020-05-12
|
||||||
### Add
|
### Add
|
||||||
- Added private notifications option for push notifications
|
- Added private notifications option for push notifications
|
||||||
|
|
|
@ -11,9 +11,12 @@ const fetchAndUpdate = ({ store, credentials, older = false }) => {
|
||||||
const rootState = store.rootState || store.state
|
const rootState = store.rootState || store.state
|
||||||
const timelineData = rootState.statuses.notifications
|
const timelineData = rootState.statuses.notifications
|
||||||
const hideMutedPosts = getters.mergedConfig.hideMutedPosts
|
const hideMutedPosts = getters.mergedConfig.hideMutedPosts
|
||||||
|
const allowFollowingMove = rootState.users.currentUser.allow_following_move
|
||||||
|
|
||||||
args['withMuted'] = !hideMutedPosts
|
args['withMuted'] = !hideMutedPosts
|
||||||
|
|
||||||
|
args['withMove'] = !allowFollowingMove
|
||||||
|
|
||||||
args['timeline'] = 'notifications'
|
args['timeline'] = 'notifications'
|
||||||
if (older) {
|
if (older) {
|
||||||
if (timelineData.minId !== Number.POSITIVE_INFINITY) {
|
if (timelineData.minId !== Number.POSITIVE_INFINITY) {
|
||||||
|
|
Loading…
Reference in a new issue