aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2019-03-21 22:49:26 +0200
committerHenry Jameson <me@hjkos.com>2019-03-21 22:49:26 +0200
commitee94a6732aff8a4ab64ca885e07d53f58bfb4cb4 (patch)
tree1c9c0d16a5fb54882038ee19fff3969a873c8928
parent307b4ba698fd87b3a6cabbe18a1f78513d414e33 (diff)
why did i do that
-rw-r--r--src/components/conversation/conversation.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
index fd4303ca..32bab144 100644
--- a/src/components/conversation/conversation.js
+++ b/src/components/conversation/conversation.js
@@ -93,6 +93,11 @@ const conversation = {
statuses.forEach(status => this.relevantIds.push(status.id))
})
.then(() => this.setHighlight(this.statusId))
+ } else {
+ const id = this.$route.params.id
+ this.$store.state.api.backendInteractor.fetchStatus({id})
+ .then((status) => this.$store.dispatch('addNewStatuses', { statuses: [status] }))
+ .then(() => this.fetchConversation())
}
},
getReplies (id) {