refs #872 Provide reblogged source toot when reblog event has occur
This commit is contained in:
parent
6d5e565d67
commit
fbb3fb4a8c
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue