capture all in cli
parent
ef556557ad
commit
e57671ebeb
|
@ -416,11 +416,6 @@ def rebuild_filtered_log():
|
|||
|
||||
def handle_speak(event):
|
||||
global chat
|
||||
# if the message is targeted and cli is not the target ignore utterance
|
||||
if (event.context and 'destination' in event.context and
|
||||
event.context['destination'] and
|
||||
'cli' not in event.context['destination']):
|
||||
return
|
||||
utterance = event.data.get('utterance')
|
||||
utterance = TTS.remove_ssml(utterance)
|
||||
if bSimple:
|
||||
|
@ -434,11 +429,6 @@ def handle_utterance(event):
|
|||
global chat
|
||||
global history
|
||||
utterance = event.data.get('utterances')[0]
|
||||
# if the message is targeted and cli is not the target ignore utterance
|
||||
if (event.context and 'destination' in event.context and
|
||||
event.context['destination'] and
|
||||
'cli' not in event.context['destination']):
|
||||
return
|
||||
history.append(utterance)
|
||||
chat.append(utterance)
|
||||
set_screen_dirty()
|
||||
|
|
Loading…
Reference in New Issue