Apparently, MastoAPI gives status in ancestors if you try opening a repeat...

This commit is contained in:
Henry Jameson 2019-03-27 22:50:19 +02:00
parent aed0943678
commit 31a71ee3ee
1 changed files with 2 additions and 2 deletions

View File

@ -101,9 +101,9 @@ const conversation = {
this.$store.dispatch('addNewStatuses', { statuses: ancestors })
this.$store.dispatch('addNewStatuses', { statuses: descendants })
set(this, 'converationStatusIds', [].concat(
ancestors.map(_ => _.id),
ancestors.map(_ => _.id).filter(_ => _ !== this.statusId),
this.statusId,
descendants.map(_ => _.id)))
descendants.map(_ => _.id).filter(_ => _ !== this.statusId)))
})
.then(() => this.setHighlight(this.statusId))
} else {