refs #872 Provide reblogged source toot when reblog event has occur

This commit is contained in:
AkiraFukushima 2019-05-19 01:24:17 +09:00
parent 6d5e565d67
commit fbb3fb4a8c
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ const actions: ActionTree<TootState, RootState> = {
// Reblog target status is in the data.reblog. // Reblog target status is in the data.reblog.
// So I send data.reblog as status for update local timeline. // So I send data.reblog as status for update local timeline.
ipcRenderer.send('fav-rt-action-sound') ipcRenderer.send('fav-rt-action-sound')
dispatch('TimelineSpace/updateTootForAllTimelines', res.data, { root: true }) dispatch('TimelineSpace/updateTootForAllTimelines', res.data.reblog, { root: true })
return res.data.reblog return res.data.reblog
}, },
unreblog: async ({ rootState, dispatch }, message: Status) => { unreblog: async ({ rootState, dispatch }, message: Status) => {