diff options
Diffstat (limited to 'src/components/conversation/conversation.js')
| -rw-r--r-- | src/components/conversation/conversation.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js index ba90746e..115ac640 100644 --- a/src/components/conversation/conversation.js +++ b/src/components/conversation/conversation.js @@ -121,8 +121,8 @@ const conversation = { this.$store.state.api.backendInteractor.fetchConversation({id: this.status.id}) .then(({ancestors, descendants}) => { const ancestorId = ancestors.length ? ancestors[0].id : this.status.id - this.fetchFavoritedByUsers(ancestorId) - this.fetchRebloggedByUsers(ancestorId) + this.$store.dispatch('fetchFavoritedByUsers', { id: ancestorId }) + this.$store.dispatch('fetchRebloggedByUsers', { id: ancestorId }) this.$store.dispatch('addNewStatuses', { statuses: ancestors }) this.$store.dispatch('addNewStatuses', { statuses: descendants }) }) @@ -151,12 +151,6 @@ const conversation = { if (!this.expanded) { this.setHighlight(null) } - }, - fetchFavoritedByUsers (id) { - this.$store.dispatch('fetchFavoritedByUsers', { id }) - }, - fetchRebloggedByUsers (id) { - this.$store.dispatch('fetchRebloggedByUsers', { id }) } } } |
