Function always_trigger

Source
pub fn always_trigger(_ctx: &TriggerCtx<'_>) -> Result<bool>
Expand description

Native port of the trigger_script: "true" content used by every offer that is meant to be auto-given the moment one of its events_subscribe events fires. By the time should_give_new_offer runs, the candidate offer is already known to be enabled and to have the firing event in its events_subscribe list (see try_give_new_offers), so the faithful decision for a subscribing offer is simply “give it” → true.