only show corrections of original author

This commit is contained in:
hzrd149 2024-11-22 14:26:47 -06:00
parent c19156920b
commit c923843861

View File

@ -50,7 +50,7 @@ export default function DetailsTabs({ post }: { post: ThreadItem }) {
);
});
const corrections = events.filter((e) => {
return e.kind === CORRECTION_EVENT_KIND;
return e.kind === CORRECTION_EVENT_KIND && e.pubkey === post.event.pubkey;
});
const unknown = events.filter(