view who was fronting when a record was made

fix: only apply repost fronter to repost if the did / handle matches

ptr.pet b07b53cb 190111af

verified
Changed files
+9
src
entrypoints
+9
src/entrypoints/content.ts
··· 200 200 ?.firstElementChild?.nextElementSibling?.firstElementChild 201 201 ?.firstElementChild?.nextElementSibling?.firstElementChild 202 202 ?.firstElementChild?.firstElementChild?.firstElementChild ?? null; 203 + const actorIdentifier = displayNameElement?.parentElement 204 + ?.getAttribute("href") 205 + ?.split("/")[2]; 206 + if ( 207 + fronter.did !== actorIdentifier && 208 + fronter.handle !== actorIdentifier 209 + ) { 210 + return; 211 + } 203 212 // sanity check 204 213 if (displayNameElement?.tagName !== "SPAN") { 205 214 console.log(