only show profile zaps on timeline

This commit is contained in:
Alejandro Gomez 2023-02-04 10:59:20 +01:00
parent 0a056edcad
commit 6fa02bd0df
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ export default function Timeline({ subject, postsOnly = false, method, ignoreMod
return <Note key={e.id} data={e} related={related.notes} ignoreModeration={ignoreModeration} />
}
case EventKind.ZapReceipt: {
return <Zap zap={parseZap(e)} />
const zap = parseZap(e)
return zap.e ? null : <Zap zap={zap} />
}
case EventKind.Reaction:
case EventKind.Repost: {