From 6af2a14c21abb6d18aba9ae9fce77e4f3ad54e1d Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Sun, 19 May 2019 23:17:56 +0900
Subject: [PATCH] refs #872 Fix update toot for local and public when favourite
or reblog
---
src/renderer/store/TimelineSpace.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/renderer/store/TimelineSpace.ts b/src/renderer/store/TimelineSpace.ts
index 2e6ad9a8..530c5032 100644
--- a/src/renderer/store/TimelineSpace.ts
+++ b/src/renderer/store/TimelineSpace.ts
@@ -450,10 +450,10 @@ const actions: ActionTree = {
commit('TimelineSpace/Contents/DirectMessages/updateToot', status, { root: true })
}
if (state.unreadNotification.local) {
- commit('TimelineSpace/Contents/Local/updateToot', state, { root: true })
+ commit('TimelineSpace/Contents/Local/updateToot', status, { root: true })
}
if (state.unreadNotification.public) {
- commit('TimelineSpace/Contents/Public/updateToot', state, { root: true })
+ commit('TimelineSpace/Contents/Public/updateToot', status, { root: true })
}
return true
}