Fix target account link in old report notifications

This commit is contained in:
Claire 2024-08-27 18:11:14 +02:00
parent 11014ac414
commit 33ad67fcea

View file

@ -385,7 +385,7 @@ class Notification extends ImmutablePureComponent {
<bdi>
<Permalink
className='notification__display-name'
href={account.get('url')}
href={targetAccount.get('url')}
title={targetAccount.get('acct')}
to={`/@${targetAccount.get('acct')}`}
dangerouslySetInnerHTML={targetDisplayNameHtml}