mention link

This commit is contained in:
Henry Jameson 2021-06-07 16:16:10 +03:00
parent 1923ed84d4
commit 22c8f71945
6 changed files with 161 additions and 3 deletions

View file

@ -168,6 +168,13 @@ const StatusContent = {
LinkPreview,
RichContent
},
mounted () {
const { attentions } = this.status
attentions.forEach(attn => {
const { id } = attn
this.$store.state.api.backendInteractor.fetchUserIfMissing(this.$store, id)
})
},
methods: {
linkClicked (event) {
const target = event.target.closest('.status-content a')