kopia lustrzana https://github.com/nextcloud/social
Use account's avatar property in compositor
Signed-off-by: Louis Chemineau <louis@chmn.me>pull/1719/head
rodzic
4e0439e57a
commit
033d2faaf0
|
@ -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> `
|
||||
|
|
Ładowanie…
Reference in New Issue