this repo has no description
0
fork

Configure Feed

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

refactor stuff

+1 -10
+1 -10
src/label.ts
··· 37 37 console.log(err); 38 38 }) 39 39 .then(() => console.log(`Deleted labels for ${did}`)); 40 - return; 41 - } 42 - 43 - const labelCount = labels.data.labels.reduce((set, label) => { 44 - if (!label.neg) set.add(label.val); 45 - else set.delete(label.val); 46 - return set; 47 - }, new Set()).size; 48 - 49 - if (labelCount < 4 && PRONOUNS[post]) { 40 + } else if (labels.data.labels.length < 4 && PRONOUNS[post]) { 50 41 await agent 51 42 .withProxy("atproto_labeler", DID) 52 43 .tools.ozone.moderation.emitEvent({