refs #677 Fix default settings of unread notification

This commit is contained in:
AkiraFukushima 2018-11-08 22:44:58 +09:00
parent 8934d16cc8
commit 744c65d990
3 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,6 @@ export default {
default: true
},
Public: {
default: true
default: false
}
}

View File

@ -779,6 +779,7 @@ ipcMain.on('get-unread-notification', (event, accountID) => {
event.sender.send('response-get-unread-notification', doc)
})
.catch(err => {
console.warn(err)
event.sender.send('error-get-unread-notification', err)
})
})

View File

@ -57,6 +57,7 @@ const SideMenu = {
commit('changeUnreadNotifications', false)
commit('changeUnreadLocalTimeline', false)
commit('changeUnreadDirectMessagesTimeline', false)
commit('changeUnreadPublicTimeline', false)
},
changeCollapse ({ commit }, value) {
commit('changeCollapse', value)