Copy active wake words to message (#7481)

This commit is contained in:
Michael Hansen
2024-09-23 07:44:53 +12:00
committed by GitHub
parent 8e5d7337c8
commit 5f7bde2a2c
@@ -1242,6 +1242,9 @@ VoiceAssistantConfigurationResponse APIConnection::voice_assistant_get_configura
}
resp.available_wake_words.push_back(std::move(resp_wake_word));
}
for (auto &wake_word_id : config.active_wake_words) {
resp.active_wake_words.push_back(wake_word_id);
}
resp.max_active_wake_words = config.max_active_wake_words;
}
return resp;