File tree 4 files changed +3
-13
lines changed
4 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ var logger = require("../logger");
5
5
var consts = require ( "../consts" ) ;
6
6
var request = require ( "request" ) ;
7
7
var async = require ( "async" ) ;
8
- var url = require ( "url" ) ;
9
8
var jwt = require ( "jsonwebtoken" ) ;
10
9
var zlib = require ( "zlib" ) ;
11
10
var urlJoin = require ( "url-join" ) ;
@@ -535,15 +534,6 @@ var ChatConnector = (function () {
535
534
utils . moveFieldsTo ( msg , address , toAddress ) ;
536
535
msg . address = address ;
537
536
msg . source = address . channelId ;
538
- if ( address . serviceUrl ) {
539
- try {
540
- var u = url . parse ( address . serviceUrl ) ;
541
- address . serviceUrl = u . protocol + '//' + u . host ;
542
- }
543
- catch ( e ) {
544
- console . error ( "ChatConnector error parsing '" + address . serviceUrl + "': " + e . toString ( ) ) ;
545
- }
546
- }
547
537
if ( msg . source == 'facebook' && msg . sourceEvent && msg . sourceEvent . message && msg . sourceEvent . message . quick_reply ) {
548
538
msg . text = msg . sourceEvent . message . quick_reply . payload ;
549
539
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ var ResumeReason;
17
17
var Dialog = ( function ( _super ) {
18
18
__extends ( Dialog , _super ) ;
19
19
function Dialog ( ) {
20
- return _super . apply ( this , arguments ) || this ;
20
+ return _super !== null && _super . apply ( this , arguments ) || this ;
21
21
}
22
22
Dialog . prototype . begin = function ( session , args ) {
23
23
this . replyReceived ( session ) ;
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ exports.SimplePromptRecognizer = SimplePromptRecognizer;
108
108
var Prompts = ( function ( _super ) {
109
109
__extends ( Prompts , _super ) ;
110
110
function Prompts ( ) {
111
- return _super . apply ( this , arguments ) || this ;
111
+ return _super !== null && _super . apply ( this , arguments ) || this ;
112
112
}
113
113
Prompts . prototype . begin = function ( session , args ) {
114
114
args = args || { } ;
Original file line number Diff line number Diff line change 2
2
"name" : " botbuilder" ,
3
3
"author" : " Microsoft Corp." ,
4
4
"description" : " Bot Builder is a dialog system for building rich bots on virtually any platform." ,
5
- "version" : " 3.5.3 " ,
5
+ "version" : " 3.5.4 " ,
6
6
"license" : " MIT" ,
7
7
"keywords" : [
8
8
" botbuilder" ,
You can’t perform that action at this time.
0 commit comments