Closed howlowck closed 6 years ago
When doing a post to send a message to the bot, the conversation ID is not set properly. The conversation ID is set using a global scope, instead from the URL.
https://github.com/ryanvolum/offline_dl/blob/master/src/bridge.ts#L72
Add an optional conversationId parameter in createMessageActivity signature. If it's not defined, it defaults to the global variable.
conversationId
createMessageActivity
https://github.com/ryanvolum/offline_dl/blob/master/src/bridge.ts#L216
I can make a PR if this sounds good.
Hey Hao - this sounds good - feel free to make the PR!
Awesome! PR submitted 😄
Issue:
When doing a post to send a message to the bot, the conversation ID is not set properly. The conversation ID is set using a global scope, instead from the URL.
https://github.com/ryanvolum/offline_dl/blob/master/src/bridge.ts#L72
Proposal:
Add an optional
conversationId
parameter increateMessageActivity
signature. If it's not defined, it defaults to the global variable.https://github.com/ryanvolum/offline_dl/blob/master/src/bridge.ts#L216
I can make a PR if this sounds good.