Commit 77c6bccf authored by Tom Jorquera's avatar Tom Jorquera
Browse files

client: add function to send chat message to controller

The client controller now exposes a function to send a chat message via hublin.
parent b9d5fbc9
......@@ -39,6 +39,16 @@ robotController = {
return res;
},
sendMessage: (author, authorAvatar, message) => {
robotController.chatService.sendMessage({
author,
authorAvatar,
message,
displayName: author,
published: new Date()
});
},
onAttendeePush: () => {},
onAttendeeRemove: () => {},
onAttendeeUpdate: () => {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment