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
···
?.firstElementChild?.nextElementSibling?.firstElementChild
?.firstElementChild?.nextElementSibling?.firstElementChild
?.firstElementChild?.firstElementChild?.firstElementChild ?? null;
+
const actorIdentifier = displayNameElement?.parentElement
+
?.getAttribute("href")
+
?.split("/")[2];
+
if (
+
fronter.did !== actorIdentifier &&
+
fronter.handle !== actorIdentifier
+
) {
+
return;
+
}
// sanity check
if (displayNameElement?.tagName !== "SPAN") {
console.log(