display avatars list on highlighted post

This commit is contained in:
Brenden Bice 2019-04-07 14:27:46 -04:00
parent b75d899c7a
commit fcea3d62cb
1 changed files with 2 additions and 3 deletions

View File

@ -120,9 +120,8 @@ const conversation = {
if (this.status) {
this.$store.state.api.backendInteractor.fetchConversation({id: this.status.id})
.then(({ancestors, descendants}) => {
const ancestorId = ancestors.length ? ancestors[0].id : this.status.id
this.$store.dispatch('fetchFavoritedByUsers', { id: ancestorId })
this.$store.dispatch('fetchRebloggedByUsers', { id: ancestorId })
this.$store.dispatch('fetchFavoritedByUsers', { id: this.status.id })
this.$store.dispatch('fetchRebloggedByUsers', { id: this.status.id })
this.$store.dispatch('addNewStatuses', { statuses: ancestors })
this.$store.dispatch('addNewStatuses', { statuses: descendants })
})