Fix broken links in account gallery (#24218)

This commit is contained in:
Christian Schmidt
2023-03-23 05:17:29 +01:00
committed by GitHub
parent 2626097869
commit 16da4a09e8
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ export default class MediaItem extends ImmutablePureComponent {
if (['audio', 'video'].includes(attachment.get('type'))) {
content = (
<img
src={attachment.get('preview_url') || attachment.getIn(['account', 'avatar_static'])}
src={attachment.get('preview_url') || status.getIn(['account', 'avatar_static'])}
alt={attachment.get('description')}
lang={status.get('language')}
onLoad={this.handleImageLoad}