this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix when labels already present

+2 -4
+2 -4
src/label.ts
··· 14 14 console.log(err); 15 15 }); 16 16 17 - if (!labels) return; 18 - 19 17 const post = URIs[uri]; 20 18 21 - if (post?.includes("Like this post to delete")) { 19 + if (labels && post?.includes("Like this post to delete")) { 22 20 await agent 23 21 .withProxy("atproto_labeler", DID) 24 22 .tools.ozone.moderation.emitEvent({ ··· 42 40 return; 43 41 } 44 42 45 - if (labels.data.labels.length >= 4) return; 43 + if (labels && labels.data.labels.length >= 4) return; 46 44 47 45 if (PRONOUNS[post]) { 48 46 await agent