Skip to main content

build_default_targets_map

Function build_default_targets_map 

Source
pub fn build_default_targets_map(config: &Config) -> HashMap<String, String>
Expand description

Build a map of composite channel key → configured default_target.

Used by channel_send to enforce that the model can only send to operator-configured recipients. Returns an empty map when no channels have default_target set.