capture all in cli

pull/2461/head
jarbasal 2020-01-30 12:48:12 +00:00 committed by Åke Forslund
parent ef556557ad
commit e57671ebeb
1 changed files with 0 additions and 10 deletions

View File

@ -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()