Merge pull request #2827 from ClearlyClaire/glitch-soc/fixes/report-old-notifications-target

Fix target account link in old report notifications
This commit is contained in:
Claire
2024-08-27 19:09:20 +02:00
committed by GitHub

View File

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