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
1 changed files with 9 additions and 0 deletions

View File

@ -20,6 +20,15 @@ $(document).ready(function() {
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':
break;
}