botbuilder
Advanced tools
Comparing version 3.5.3 to 3.5.4
@@ -8,3 +8,2 @@ "use strict"; | ||
var async = require("async"); | ||
var url = require("url"); | ||
var jwt = require("jsonwebtoken"); | ||
@@ -539,11 +538,2 @@ var zlib = require("zlib"); | ||
msg.source = address.channelId; | ||
if (address.serviceUrl) { | ||
try { | ||
var u = url.parse(address.serviceUrl); | ||
address.serviceUrl = u.protocol + '//' + u.host; | ||
} | ||
catch (e) { | ||
console.error("ChatConnector error parsing '" + address.serviceUrl + "': " + e.toString()); | ||
} | ||
} | ||
if (msg.source == 'facebook' && msg.sourceEvent && msg.sourceEvent.message && msg.sourceEvent.message.quick_reply) { | ||
@@ -550,0 +540,0 @@ msg.text = msg.sourceEvent.message.quick_reply.payload; |
@@ -20,3 +20,3 @@ "use strict"; | ||
function Dialog() { | ||
return _super.apply(this, arguments) || this; | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
@@ -23,0 +23,0 @@ Dialog.prototype.begin = function (session, args) { |
@@ -111,3 +111,3 @@ "use strict"; | ||
function Prompts() { | ||
return _super.apply(this, arguments) || this; | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
@@ -114,0 +114,0 @@ Prompts.prototype.begin = function (session, args) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.", | ||
"version": "3.5.3", | ||
"version": "3.5.4", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
439508
9610