diff options
author | Louis Chemineau <louis@chmn.me> | 2023-04-06 16:15:39 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-04-06 16:16:39 +0200 |
commit | 033d2faaf04691b74c459c60706d42037e2816b8 (patch) | |
tree | 770fc3d4ed13a7e7b7ab7ed48243f90c43998dd5 /src/components/Composer/Composer.vue | |
parent | 4e0439e57a356ae25ef4fdd4824a5bad70c8f9f2 (diff) |
Use account's avatar property in compositor
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'src/components/Composer/Composer.vue')
-rw-r--r-- | src/components/Composer/Composer.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Composer/Composer.vue b/src/components/Composer/Composer.vue index 8fe261ae..14b167df 100644 --- a/src/components/Composer/Composer.vue +++ b/src/components/Composer/Composer.vue @@ -308,7 +308,7 @@ export default { this.$refs.composerInput.innerHTML = ` <span class="mention" contenteditable="false"> <a href="${account.url}" target="_blank"> - <img src="${!account.acct.includes('@') ? generateUrl(`/avatar/${account.username}/32`) : generateUrl(`apps/social/api/v1/global/actor/avatar?id=${account.acct}`)}"/> + <img src="${account.avatar}"/> @${account.acct} </a> </span> ` |