mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/timeline: fix using filename as image alt
This commit is contained in:
parent
10dd28bfda
commit
26346df920
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ const MessageBody = ({ event }: EventContentProps) => {
|
|||
loading="lazy"
|
||||
style={style.media}
|
||||
src={getMediaURL(content.url ?? content.file?.url)}
|
||||
alt={content.body}
|
||||
alt={content.filename ?? content.body}
|
||||
onClick={openLightbox}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue