this repo has no description
0
fork

Configure Feed

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

automod: skip harassment flag check if there is follow relationship (#687)

authored by

bnewbold and committed by
GitHub
328d10a4 9815da96

+6
+6
automod/rules/harassment.go
··· 51 51 continue 52 52 } 53 53 if c.InSet("harassment-target-dids", did) { 54 + // ignore if the target account follows the new account 55 + rel := c.GetAccountRelationship(syntax.DID(did)) 56 + if rel.FollowedBy { 57 + return nil 58 + } 59 + 54 60 //c.AddRecordFlag("interaction-harassed-target") 55 61 c.ReportAccount(automod.ReportReasonOther, fmt.Sprintf("possible harassment of known target account: %s (also labeled; remove label if this isn't harassment)", did)) 56 62 c.AddAccountLabel("!hide")