Skip to content

Commit 37e1960

Browse files
author
Florian Treml
committed
BOT-1878 not sending empty activity but getSessionId on init
1 parent 9e3a1e6 commit 37e1960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class BotiumConnectorDirectline3 {
327327
this.UserSays({ sourceData: this.caps[Capabilities.DIRECTLINE3_WELCOME_ACTIVITY] }).catch(err => debug(`Failed to send DIRECTLINE3_WELCOME_ACTIVITY: ${err.message}`))
328328
}
329329
} else {
330-
this.directLine.postActivity({}).subscribe(
330+
this.directLine.getSessionId().subscribe(
331331
() => {},
332332
() => {}
333333
)

0 commit comments

Comments
 (0)