Skip to content

Commit

Permalink
Node SDK RC 3.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosscastro committed Jan 20, 2017
1 parent 4746da6 commit e1abdf9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions Node/core/lib/bots/ChatConnector.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ var logger = require("../logger");
var consts = require("../consts");
var request = require("request");
var async = require("async");
var url = require("url");
var jwt = require("jsonwebtoken");
var zlib = require("zlib");
var urlJoin = require("url-join");
Expand Down Expand Up @@ -535,15 +534,6 @@ var ChatConnector = (function () {
utils.moveFieldsTo(msg, address, toAddress);
msg.address = address;
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) {
msg.text = msg.sourceEvent.message.quick_reply.payload;
}
Expand Down
2 changes: 1 addition & 1 deletion Node/core/lib/dialogs/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var ResumeReason;
var Dialog = (function (_super) {
__extends(Dialog, _super);
function Dialog() {
return _super.apply(this, arguments) || this;
return _super !== null && _super.apply(this, arguments) || this;
}
Dialog.prototype.begin = function (session, args) {
this.replyReceived(session);
Expand Down
2 changes: 1 addition & 1 deletion Node/core/lib/dialogs/Prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ exports.SimplePromptRecognizer = SimplePromptRecognizer;
var Prompts = (function (_super) {
__extends(Prompts, _super);
function Prompts() {
return _super.apply(this, arguments) || this;
return _super !== null && _super.apply(this, arguments) || this;
}
Prompts.prototype.begin = function (session, args) {
args = args || {};
Expand Down
2 changes: 1 addition & 1 deletion Node/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "botbuilder",
"author": "Microsoft Corp.",
"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",
"keywords": [
"botbuilder",
Expand Down

0 comments on commit e1abdf9

Please sign in to comment.