fork of indigo with slightly nicer lexgen

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.net and committed by GitHub 42e542d1 9822a588

Changed files
+2
automod
+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 }