improve diff filters
fix tests expander/compressor filter mangler
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import { RawEvent } from "System";
|
||||
import { NostrEvent } from "System";
|
||||
import { dedupe } from "SnortUtils";
|
||||
import FollowListBase from "./FollowListBase";
|
||||
|
||||
export default function PubkeyList({ ev, className }: { ev: RawEvent; className?: string }) {
|
||||
export default function PubkeyList({ ev, className }: { ev: NostrEvent; className?: string }) {
|
||||
const ids = dedupe(ev.tags.filter(a => a[0] === "p").map(a => a[1]));
|
||||
return <FollowListBase pubkeys={ids} showAbout={true} className={className} />;
|
||||
}
|
||||
|
Reference in New Issue
Block a user