this repo has no description
0
fork

Configure Feed

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

automod: have ozone engine handle newer event types (#1014)

We don't actually have any rules or behavior around this event type,
just need to handle it here to reduce false-positive error logging.

Will need to be paired with an update and deploy in another internal
repo, after this is merged.

authored by

bnewbold and committed by
GitHub
42e542d1 9822a588

+2
+2
automod/engine/engine_ozone.go
··· 46 46 eventType = "divert" 47 47 } else if eventView.Event.ModerationDefs_ModEventTag != nil { 48 48 eventType = "tag" 49 + } else if eventView.Event.ModerationDefs_ModEventPriorityScore != nil { 50 + eventType = "priorityScore" 49 51 } else { 50 52 return nil, fmt.Errorf("unhandled ozone event type") 51 53 }