aboutsummaryrefslogtreecommitdiff
path: root/src/components/conversation/conversation.js
diff options
context:
space:
mode:
authorBrenden Bice <brenden.next@gmail.com>2019-04-09 04:00:09 -0400
committerBrenden Bice <brenden.next@gmail.com>2019-04-11 23:26:13 -0400
commitf74a6b4b5777211dcda979b0e390305f46efdd95 (patch)
treefa2995b57268c11fe2988e30c286c13182dbe7ae /src/components/conversation/conversation.js
parentefd20967df1eb633206dcab3d37905653dccd723 (diff)
display favs & reblogged users on expanded post in timeline view
Diffstat (limited to 'src/components/conversation/conversation.js')
-rw-r--r--src/components/conversation/conversation.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
index 1e75feb9..5cc7f4ee 100644
--- a/src/components/conversation/conversation.js
+++ b/src/components/conversation/conversation.js
@@ -41,7 +41,8 @@ const conversation = {
props: [
'statusoid',
'collapsable',
- 'isPage'
+ 'isPage',
+ 'timelineName'
],
created () {
if (this.isPage) {
@@ -120,8 +121,8 @@ const conversation = {
if (this.status) {
this.$store.state.api.backendInteractor.fetchConversation({id: this.status.id})
.then(({ancestors, descendants}) => {
- this.$store.dispatch('fetchFavoritedByUsers', { id: this.status.id })
- this.$store.dispatch('fetchRebloggedByUsers', { id: this.status.id })
+ this.$store.dispatch('fetchFavoritedByUsers', { id: this.statusId, retweetedStatusId: this.status.id, timelineName: this.timelineName })
+ this.$store.dispatch('fetchRebloggedByUsers', { id: this.statusId, retweetedStatusId: this.status.id, timelineName: this.timelineName })
this.$store.dispatch('addNewStatuses', { statuses: ancestors })
this.$store.dispatch('addNewStatuses', { statuses: descendants })
})