Show assistant response text on web clients

This commit is contained in:
Fabio Manganiello 2018-06-21 00:22:26 +02:00
parent f73adc83bc
commit 8708d53236

View file

@ -20,6 +20,15 @@ $(document).ready(function() {
break; break;
case 'platypush.message.event.assistant.ResponseEvent':
createNotification({
'title': 'Assistant response',
'text': event.args.response_text,
'icon': 'volume-up',
});
break;
case 'platypush.message.event.assistant.ConversationEndEvent': case 'platypush.message.event.assistant.ConversationEndEvent':
break; break;
} }