(conf map[string]interface{}, defaultValue bool)
| 771 | } |
| 772 | |
| 773 | func extractFeishuPluginEnabled(conf map[string]interface{}, defaultValue bool) bool { |
| 774 | plugins := childMap(conf, "plugins") |
| 775 | entries := childMap(plugins, "entries") |
| 776 | lark := childMap(entries, "openclaw-lark") |
| 777 | return extractBoolValue(lark["enabled"], defaultValue) |
| 778 | } |
| 779 | |
| 780 | func setFeishuPluginEnabled(conf map[string]interface{}, enabled bool) { |
| 781 | plugins := ensureChildMap(conf, "plugins") |
no test coverage detected