opentok-textchat
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -68,2 +68,3 @@ /* global localStorage OT */ | ||
scope.messages.push(message); | ||
scope.$emit('otTextchatMessage', message); | ||
scope.$apply(); | ||
@@ -96,2 +97,3 @@ const lastMessage = element[0].querySelector('.message:last-child'); | ||
const body = inputText.val(); | ||
if (!body) return false; | ||
const nameRegexp = /\/name (\w+)/; | ||
@@ -98,0 +100,0 @@ if (body.match(nameRegexp)) { |
{ | ||
"name": "opentok-textchat", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Text chat component using Angular for opentok", | ||
@@ -5,0 +5,0 @@ "main": "opentok-textchat.js", |
26620
405