diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-07 16:16:10 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-07 18:41:47 +0300 |
| commit | 22c8f71945c6d114bf4db89c87eb1b166775f2d6 (patch) | |
| tree | 1109740a4365056380daba1c47928ff700399eed /src/components/status_content | |
| parent | 1923ed84d451011df42e47a85060cc754a011e27 (diff) | |
mention link
Diffstat (limited to 'src/components/status_content')
| -rw-r--r-- | src/components/status_content/status_content.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js index 571f1a78..79408e38 100644 --- a/src/components/status_content/status_content.js +++ b/src/components/status_content/status_content.js @@ -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') |
