Skip to content

Commit

Permalink
activate also on common query (if selected)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed May 3, 2024
1 parent 6eb8031 commit ed7930a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ovos_workshop/skills/common_query_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def __handle_query_classic(self, message):
if message.data["skill_id"] != self.skill_id:
# Not for this skill!
return
self.activate()
phrase = message.data["phrase"]
data = message.data.get("callback_data") or {}
# Invoke derived class to provide playback data
Expand All @@ -257,6 +258,7 @@ def __handle_query_action(self, message: Message):
if message.data["skill_id"] != self.skill_id:
# Not for this skill!
return
self.activate()
phrase = message.data["phrase"]
data = message.data.get("callback_data") or {}
if data.get("answer"):
Expand Down

0 comments on commit ed7930a

Please sign in to comment.