This commit is contained in:
Tusooa Zhu 2021-08-11 00:17:17 -04:00
parent f1db5e8f4b
commit 10cd03c718
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -346,11 +346,6 @@ const conversation = {
} }
}, },
methods: { methods: {
conversationFetched () {
if (!this.isExpanded) {
return
}
},
fetchConversation () { fetchConversation () {
if (this.status) { if (this.status) {
this.$store.state.api.backendInteractor.fetchConversation({ id: this.statusId }) this.$store.state.api.backendInteractor.fetchConversation({ id: this.statusId })
@ -359,7 +354,6 @@ const conversation = {
this.$store.dispatch('addNewStatuses', { statuses: descendants }) this.$store.dispatch('addNewStatuses', { statuses: descendants })
this.setHighlight(this.originalStatusId) this.setHighlight(this.originalStatusId)
}) })
.then(this.conversationFetched)
} else { } else {
this.$store.state.api.backendInteractor.fetchStatus({ id: this.statusId }) this.$store.state.api.backendInteractor.fetchStatus({ id: this.statusId })
.then((status) => { .then((status) => {
@ -488,7 +482,6 @@ const conversation = {
ancestors.unshift(this.statusMap[cur]) ancestors.unshift(this.statusMap[cur])
cur = this.parentOf(cur) cur = this.parentOf(cur)
} }
// console.log('ancestors = ', ancestors, 'conversation = ', this.conversation.map(k => k.id), 'statusContentProperties=', this.statusContentProperties)
return ancestors return ancestors
}, },
topLevelAncestorOrSelfId (id) { topLevelAncestorOrSelfId (id) {