Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Handle change to middleware#2177

Merged
srinaath merged 3 commits intov4.10.0from
bugfix/handle-middleware-webchat
Aug 18, 2020
Merged

Handle change to middleware#2177
srinaath merged 3 commits intov4.10.0from
bugfix/handle-middleware-webchat

Conversation

@srinaath
Copy link
Copy Markdown
Contributor

@srinaath srinaath commented Aug 18, 2020

The webchat middleware 4.10.0 returns false for conversationUpdate, invoke events. This PR makes sure it returns true before we render the results

microsoft/BotFramework-WebChat@9e5f9e0#diff-5cc299788131ecb932a8b17abd1ba05bL6

Signed-off-by: Srinaath Ravichandran <[email protected]>
Signed-off-by: Srinaath Ravichandran <[email protected]>
tonyanziano
tonyanziano previously approved these changes Aug 18, 2020
return null;

default:
debugger;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might want to remove this 😅

Signed-off-by: Srinaath Ravichandran <[email protected]>
Copy link
Copy Markdown
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@srinaath srinaath merged commit b316c13 into v4.10.0 Aug 18, 2020
@srinaath srinaath deleted the bugfix/handle-middleware-webchat branch August 18, 2020 22:55
tonyanziano pushed a commit that referenced this pull request Aug 31, 2020
* Webchat Upgrade and Version number change

Signed-off-by: Srinaath Ravichandran <[email protected]>

* Handle change to middleware (#2177)

* Handle change to middleware

* Updated babel preset env

Signed-off-by: Srinaath Ravichandran <[email protected]>

* Reverted change to babel

Signed-off-by: Srinaath Ravichandran <[email protected]>

Locks updated to pre webchat change

Signed-off-by: Srinaath Ravichandran <[email protected]>

Post wechat check

Signed-off-by: Srinaath Ravichandran <[email protected]>

Prevent hoisting bf-chatdown

Signed-off-by: Srinaath Ravichandran <[email protected]>

* Updated babel preset env

Signed-off-by: Srinaath Ravichandran <[email protected]>

* fix: Webchat socket instantiation delay (#2179)

* Updated websocket server code to backup messages if it is not connected
* Refactored more occurances of socket send
* Renaming variables
* Added unit test to make sure backedup messages are cleared before connection starts
* Lint fix

* Updated release date

Signed-off-by: Srinaath Ravichandran <[email protected]>

* All tests working

Signed-off-by: Srinaath Ravichandran <[email protected]>

Co-authored-by: Srinaath Ravichandran <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants