refs #872 Fix update toot for local and public when favourite or reblog

This commit is contained in:
AkiraFukushima 2019-05-19 23:17:56 +09:00
parent fbb3fb4a8c
commit 6af2a14c21
1 changed files with 2 additions and 2 deletions

View File

@ -450,10 +450,10 @@ const actions: ActionTree<TimelineSpaceState, RootState> = {
commit('TimelineSpace/Contents/DirectMessages/updateToot', status, { root: true }) commit('TimelineSpace/Contents/DirectMessages/updateToot', status, { root: true })
} }
if (state.unreadNotification.local) { if (state.unreadNotification.local) {
commit('TimelineSpace/Contents/Local/updateToot', state, { root: true }) commit('TimelineSpace/Contents/Local/updateToot', status, { root: true })
} }
if (state.unreadNotification.public) { if (state.unreadNotification.public) {
commit('TimelineSpace/Contents/Public/updateToot', state, { root: true }) commit('TimelineSpace/Contents/Public/updateToot', status, { root: true })
} }
return true return true
} }