mirror of https://github.com/tooot-app/app
Gracefully check reply accounts
This commit is contained in:
parent
6f0a0c43fe
commit
ec0faf7e7f
|
@ -141,8 +141,8 @@ const TimelineDefault: React.FC<Props> = ({
|
|||
([actualStatus.account] as Mastodon.Account[] & Mastodon.Mention[])
|
||||
.concat(actualStatus.mentions)
|
||||
.filter(d => d?.id !== instanceAccount?.id),
|
||||
d => d.id
|
||||
).map(d => d.acct)}
|
||||
d => d?.id
|
||||
).map(d => d?.acct)}
|
||||
reblog={item.reblog ? true : false}
|
||||
/>
|
||||
)}
|
||||
|
|
|
@ -138,9 +138,9 @@ const TimelineNotifications: React.FC<Props> = ({
|
|||
([notification.status.account] as Mastodon.Account[] &
|
||||
Mastodon.Mention[])
|
||||
.concat(notification.status.mentions)
|
||||
.filter(d => d.id !== instanceAccount?.id),
|
||||
d => d.id
|
||||
).map(d => d.acct)}
|
||||
.filter(d => d?.id !== instanceAccount?.id),
|
||||
d => d?.id
|
||||
).map(d => d?.acct)}
|
||||
reblog={false}
|
||||
/>
|
||||
) : null}
|
||||
|
|
Loading…
Reference in New Issue