MessageLinkEmbeds: prefer attachment proxyURL (#4543)
This commit is contained in:
parent
587f40dae6
commit
bf68eee20d
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ function AutomodEmbedAccessory(props: MessageEmbedProps): JSX.Element | null {
|
|||
const { width, height } = computeWidthAndHeight(a.width, a.height);
|
||||
return (
|
||||
<div key={idx}>
|
||||
<img src={a.url} width={width} height={height} />
|
||||
<img src={a.proxyURL ?? a.url} width={width} height={height} />
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue